Package org.bukkit
Interface Input
Represents a movement input applied to an entity.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether a backward input is applied.booleanGets whether a forward input is applied.booleanisJump()Gets whether a jump input is applied.booleanisLeft()Gets whether a left input is applied.booleanisRight()Gets whether a right input is applied.booleanisSneak()Gets whether a sneak input is applied.booleanisSprint()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
-