Class KeyboardInput

java.lang.Object
net.minecraft.client.input.Input
net.minecraft.client.input.KeyboardInput

@Environment(CLIENT) public class KeyboardInput extends Input
Mappings:
Namespace Name
official epv
intermediary net/minecraft/class_743
named net/minecraft/client/input/KeyboardInput
  • Field Details

    • field_32670

      private static final float field_32670
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lepv;j:F
      intermediary field_32670 Lnet/minecraft/class_743;field_32670:F
      named field_32670 Lnet/minecraft/client/input/KeyboardInput;field_32670:F
    • settings

      private final GameOptions settings
      Mappings:
      Namespace Name Mixin selector
      official i Lepv;i:Ldyv;
      intermediary field_3902 Lnet/minecraft/class_743;field_3902:Lnet/minecraft/class_315;
      named settings Lnet/minecraft/client/input/KeyboardInput;settings:Lnet/minecraft/client/option/GameOptions;
  • Constructor Details

    • KeyboardInput

      public KeyboardInput(GameOptions settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lepv;<init>(Ldyv;)V
      intermediary <init> Lnet/minecraft/class_743;<init>(Lnet/minecraft/class_315;)V
      named <init> Lnet/minecraft/client/input/KeyboardInput;<init>(Lnet/minecraft/client/option/GameOptions;)V
  • Method Details

    • getMovementMultiplier

      private static float getMovementMultiplier(boolean positive, boolean negative)
      Mappings:
      Namespace Name Mixin selector
      official a Lepv;a(ZZ)F
      intermediary method_40218 Lnet/minecraft/class_743;method_40218(ZZ)F
      named getMovementMultiplier Lnet/minecraft/client/input/KeyboardInput;getMovementMultiplier(ZZ)F
    • tick

      public void tick(boolean slowDown)
      Overrides:
      tick in class Input
      Mappings:
      Namespace Name Mixin selector
      official a Lepu;a(Z)V
      intermediary method_3129 Lnet/minecraft/class_744;method_3129(Z)V
      named tick Lnet/minecraft/client/input/Input;tick(Z)V