Package net.minecraft.client.input
Class KeyboardInput
java.lang.Object
net.minecraft.client.input.Input
net.minecraft.client.input.KeyboardInput
- Mappings:
Namespace Name named net/minecraft/client/input/KeyboardInput
intermediary net/minecraft/class_743
official gcr
-
Field Summary
Fields inherited from class net.minecraft.client.input.Input
jumping, movementForward, movementSideways, pressingBack, pressingForward, pressingLeft, pressingRight, sneaking
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static float
getMovementMultiplier
(boolean positive, boolean negative) void
tick
(boolean slowDown, float slowDownFactor) Methods inherited from class net.minecraft.client.input.Input
getMovementInput, hasForwardMovement
-
Field Details
-
settings
- Mappings:
Namespace Name Mixin selector named settings
Lnet/minecraft/client/input/KeyboardInput;settings:Lnet/minecraft/client/option/GameOptions;
intermediary field_3902
Lnet/minecraft/class_743;field_3902:Lnet/minecraft/class_315;
official i
Lgcr;i:Lffl;
-
-
Constructor Details
-
KeyboardInput
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/input/KeyboardInput;<init>(Lnet/minecraft/client/option/GameOptions;)V
intermediary <init>
Lnet/minecraft/class_743;<init>(Lnet/minecraft/class_315;)V
official <init>
Lgcr;<init>(Lffl;)V
-
-
Method Details
-
getMovementMultiplier
private static float getMovementMultiplier(boolean positive, boolean negative) - Mappings:
Namespace Name Mixin selector named getMovementMultiplier
Lnet/minecraft/client/input/KeyboardInput;getMovementMultiplier(ZZ)F
intermediary method_40218
Lnet/minecraft/class_743;method_40218(ZZ)F
official a
Lgcr;a(ZZ)F
-
tick
public void tick(boolean slowDown, float slowDownFactor)
-