Package org.bukkit

Interface Input


@Experimental public interface Input
Represents a movement input applied to an entity.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets whether a backward input is applied.
    boolean
    Gets whether a forward input is applied.
    boolean
    Gets whether a jump input is applied.
    boolean
    Gets whether a left input is applied.
    boolean
    Gets whether a right input is applied.
    boolean
    Gets whether a sneak input is applied.
    boolean
    Gets whether a sprint input is applied.
  • Method Details

    • isForward

      boolean isForward()
      Gets whether a forward input is applied.
      Returns:
      forward input
    • isBackward

      boolean isBackward()
      Gets whether a backward input is applied.
      Returns:
      backward input
    • isLeft

      boolean isLeft()
      Gets whether a left input is applied.
      Returns:
      left input
    • isRight

      boolean isRight()
      Gets whether a right input is applied.
      Returns:
      right input
    • isJump

      boolean isJump()
      Gets whether a jump input is applied.
      Returns:
      jump input
    • isSneak

      boolean isSneak()
      Gets whether a sneak input is applied.
      Returns:
      sneak input
    • isSprint

      boolean isSprint()
      Gets whether a sprint input is applied.
      Returns:
      sprint input