Package net.minecraft.util
Class MovementInput
- java.lang.Object
-
- net.minecraft.util.MovementInput
-
- Direct Known Subclasses:
MovementInputFromOptions
public class MovementInput extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
down
float
forwardImpulse
boolean
jumping
boolean
left
float
leftImpulse
boolean
right
boolean
shiftKeyDown
boolean
up
-
Constructor Summary
Constructors Constructor Description MovementInput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector2f
getMoveVector()
boolean
hasForwardImpulse()
void
tick(boolean p_225607_1_)
-
-
-
Method Detail
-
tick
public void tick(boolean p_225607_1_)
-
getMoveVector
public Vector2f getMoveVector()
-
hasForwardImpulse
public boolean hasForwardImpulse()
-
-