net.minecraft.util
Class MovementInput
java.lang.Object
net.minecraft.util.MovementInput
- Direct Known Subclasses:
- MovementInputFromOptions
public class MovementInput
- extends Object
Field Summary |
boolean |
jump
|
float |
moveForward
The speed at which the player is moving forward. |
float |
moveStrafe
The speed at which the player is strafing. |
boolean |
sneak
|
moveStrafe
public float moveStrafe
- The speed at which the player is strafing. Postive numbers to the left and negative to the right.
moveForward
public float moveForward
- The speed at which the player is moving forward. Negative numbers will move backwards.
jump
public boolean jump
sneak
public boolean sneak
MovementInput
public MovementInput()
updatePlayerMoveState
public void updatePlayerMoveState()