Package net.minecraft.util
Class MovementInput
java.lang.Object
net.minecraft.util.MovementInput
- Direct Known Subclasses:
MovementInputFromOptions
-
Field Summary
Modifier and TypeFieldDescriptionboolean
float
boolean
boolean
float
boolean
boolean
boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
leftImpulse
public float leftImpulse -
forwardImpulse
public float forwardImpulse -
up
public boolean up -
down
public boolean down -
left
public boolean left -
right
public boolean right -
jumping
public boolean jumping -
shiftKeyDown
public boolean shiftKeyDown
-
-
Constructor Details
-
MovementInput
public MovementInput()
-
-
Method Details
-
tick
public void tick(boolean p_225607_1_) -
getMoveVector
-
hasForwardImpulse
public boolean hasForwardImpulse()
-