Package net.minecraft.client.input
Class Input
java.lang.Object
net.minecraft.client.input.Input
- Direct Known Subclasses:
KeyboardInput
@Environment(CLIENT) public class Input extends Object
- Mappings:
Namespace Name official egu
intermediary net/minecraft/class_744
named net/minecraft/client/input/Input
-
Field Summary
Fields Modifier and Type Field Description boolean
jumping
float
movementForward
float
movementSideways
boolean
pressingBack
boolean
pressingForward
boolean
pressingLeft
boolean
pressingRight
boolean
sneaking
-
Constructor Summary
Constructors Constructor Description Input()
-
Method Summary
Modifier and Type Method Description Vec2f
getMovementInput()
boolean
hasForwardMovement()
void
tick(boolean slowDown)
-
Field Details
-
movementSideways
public float movementSideways- Mappings:
Namespace Name Mixin selector official a
Legu;a:F
intermediary field_3907
Lnet/minecraft/class_744;field_3907:F
named movementSideways
Lnet/minecraft/client/input/Input;movementSideways:F
-
movementForward
public float movementForward- Mappings:
Namespace Name Mixin selector official b
Legu;b:F
intermediary field_3905
Lnet/minecraft/class_744;field_3905:F
named movementForward
Lnet/minecraft/client/input/Input;movementForward:F
-
pressingForward
public boolean pressingForward- Mappings:
Namespace Name Mixin selector official c
Legu;c:Z
intermediary field_3910
Lnet/minecraft/class_744;field_3910:Z
named pressingForward
Lnet/minecraft/client/input/Input;pressingForward:Z
-
pressingBack
public boolean pressingBack- Mappings:
Namespace Name Mixin selector official d
Legu;d:Z
intermediary field_3909
Lnet/minecraft/class_744;field_3909:Z
named pressingBack
Lnet/minecraft/client/input/Input;pressingBack:Z
-
pressingLeft
public boolean pressingLeft- Mappings:
Namespace Name Mixin selector official e
Legu;e:Z
intermediary field_3908
Lnet/minecraft/class_744;field_3908:Z
named pressingLeft
Lnet/minecraft/client/input/Input;pressingLeft:Z
-
pressingRight
public boolean pressingRight- Mappings:
Namespace Name Mixin selector official f
Legu;f:Z
intermediary field_3906
Lnet/minecraft/class_744;field_3906:Z
named pressingRight
Lnet/minecraft/client/input/Input;pressingRight:Z
-
jumping
public boolean jumping- Mappings:
Namespace Name Mixin selector official g
Legu;g:Z
intermediary field_3904
Lnet/minecraft/class_744;field_3904:Z
named jumping
Lnet/minecraft/client/input/Input;jumping:Z
-
sneaking
public boolean sneaking- Mappings:
Namespace Name Mixin selector official h
Legu;h:Z
intermediary field_3903
Lnet/minecraft/class_744;field_3903:Z
named sneaking
Lnet/minecraft/client/input/Input;sneaking:Z
-
-
Constructor Details
-
Input
public Input()
-
-
Method Details
-
tick
public void tick(boolean slowDown)- Mappings:
Namespace Name Mixin selector official a
Legu;a(Z)V
intermediary method_3129
Lnet/minecraft/class_744;method_3129(Z)V
named tick
Lnet/minecraft/client/input/Input;tick(Z)V
-
getMovementInput
- Mappings:
Namespace Name Mixin selector official a
Legu;a()Ldit;
intermediary method_3128
Lnet/minecraft/class_744;method_3128()Lnet/minecraft/class_241;
named getMovementInput
Lnet/minecraft/client/input/Input;getMovementInput()Lnet/minecraft/util/math/Vec2f;
-
hasForwardMovement
public boolean hasForwardMovement()- Mappings:
Namespace Name Mixin selector official b
Legu;b()Z
intermediary method_20622
Lnet/minecraft/class_744;method_20622()Z
named hasForwardMovement
Lnet/minecraft/client/input/Input;hasForwardMovement()Z
-