Package net.minecraft.src
Class MovementInput
java.lang.Object
net.minecraft.src.MovementInput
- Direct Known Subclasses:
MovementInputFromOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanfloatThe speed at which the player is moving forward.floatThe speed at which the player is strafing.booleanboolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
moveStrafe
public float moveStrafeThe speed at which the player is strafing. Postive numbers to the left and negative to the right. -
moveForward
public float moveForwardThe speed at which the player is moving forward. Negative numbers will move backwards. -
jump
public boolean jump -
sneak
public boolean sneak -
special
public boolean special
-
-
Constructor Details
-
MovementInput
public MovementInput()
-
-
Method Details
-
updatePlayerMoveState
public void updatePlayerMoveState()
-