Package org.bukkit

Interface Input


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

    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 Link icon

    • isForward Link icon

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

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

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

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

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

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

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