程序包 org.bukkit
接口 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
isJump()
Gets whether a jump input is applied.boolean
isLeft()
Gets whether a left input is applied.boolean
isRight()
Gets whether a right input is applied.boolean
isSneak()
Gets whether a sneak input is applied.boolean
isSprint()
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
-