Package org.bukkit
Interface Input
Represents a movement input applied to an entity.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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.
-
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
-