程序包 org.bukkit

接口 Input


@Experimental public interface Input
Represents a movement input applied to an entity.
  • 方法概要

    修饰符和类型
    方法
    说明
    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.
  • 方法详细资料

    • isForward

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

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

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

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

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

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

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