Class Keyboard

java.lang.Object
net.minecraft.client.Keyboard

@Environment(CLIENT) public class Keyboard extends Object
Mappings:
Namespace Name
official dvm
intermediary net/minecraft/class_309
named net/minecraft/client/Keyboard
  • Field Details

    • field_32143

      public static final int field_32143
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a:I
      intermediary field_32143 Lnet/minecraft/class_309;field_32143:I
      named field_32143 Lnet/minecraft/client/Keyboard;field_32143:I
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Ldvm;b:Ldvo;
      intermediary field_1678 Lnet/minecraft/class_309;field_1678:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/Keyboard;client:Lnet/minecraft/client/MinecraftClient;
    • repeatEvents

      private boolean repeatEvents
      Mappings:
      Namespace Name Mixin selector
      official c Ldvm;c:Z
      intermediary field_1683 Lnet/minecraft/class_309;field_1683:Z
      named repeatEvents Lnet/minecraft/client/Keyboard;repeatEvents:Z
    • clipboard

      private final Clipboard clipboard
      Mappings:
      Namespace Name Mixin selector
      official d Ldvm;d:Ldpb;
      intermediary field_16241 Lnet/minecraft/class_309;field_16241:Lnet/minecraft/class_3674;
      named clipboard Lnet/minecraft/client/Keyboard;clipboard:Lnet/minecraft/client/util/Clipboard;
    • debugCrashStartTime

      private long debugCrashStartTime
      Mappings:
      Namespace Name Mixin selector
      official e Ldvm;e:J
      intermediary field_1682 Lnet/minecraft/class_309;field_1682:J
      named debugCrashStartTime Lnet/minecraft/client/Keyboard;debugCrashStartTime:J
    • debugCrashLastLogTime

      private long debugCrashLastLogTime
      Mappings:
      Namespace Name Mixin selector
      official f Ldvm;f:J
      intermediary field_1681 Lnet/minecraft/class_309;field_1681:J
      named debugCrashLastLogTime Lnet/minecraft/client/Keyboard;debugCrashLastLogTime:J
    • debugCrashElapsedTime

      private long debugCrashElapsedTime
      Mappings:
      Namespace Name Mixin selector
      official g Ldvm;g:J
      intermediary field_1680 Lnet/minecraft/class_309;field_1680:J
      named debugCrashElapsedTime Lnet/minecraft/client/Keyboard;debugCrashElapsedTime:J
    • switchF3State

      private boolean switchF3State
      Mappings:
      Namespace Name Mixin selector
      official h Ldvm;h:Z
      intermediary field_1679 Lnet/minecraft/class_309;field_1679:Z
      named switchF3State Lnet/minecraft/client/Keyboard;switchF3State:Z
  • Constructor Details

    • Keyboard

      public Keyboard(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvm;<init>(Ldvo;)V
      intermediary <init> Lnet/minecraft/class_309;<init>(Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/Keyboard;<init>(Lnet/minecraft/client/MinecraftClient;)V
  • Method Details

    • method_35696

      private boolean method_35696(int key)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(I)Z
      intermediary method_35696 Lnet/minecraft/class_309;method_35696(I)Z
      named method_35696 Lnet/minecraft/client/Keyboard;method_35696(I)Z
    • method_37273

      private void method_37273(Formatting formatting, Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(Lp;Los;)V
      intermediary method_37273 Lnet/minecraft/class_309;method_37273(Lnet/minecraft/class_124;Lnet/minecraft/class_2561;)V
      named method_37273 Lnet/minecraft/client/Keyboard;method_37273(Lnet/minecraft/util/Formatting;Lnet/minecraft/text/Text;)V
    • method_37272

      private void method_37272(Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(Los;)V
      intermediary method_37272 Lnet/minecraft/class_309;method_37272(Lnet/minecraft/class_2561;)V
      named method_37272 Lnet/minecraft/client/Keyboard;method_37272(Lnet/minecraft/text/Text;)V
    • debugWarn

      private void debugWarn(String key, Object[] args)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(Ljava/lang/String;[Ljava/lang/Object;)V
      intermediary method_1459 Lnet/minecraft/class_309;method_1459(Ljava/lang/String;[Ljava/lang/Object;)V
      named debugWarn Lnet/minecraft/client/Keyboard;debugWarn(Ljava/lang/String;[Ljava/lang/Object;)V
    • debugError

      private void debugError(String key, Object[] args)
      Mappings:
      Namespace Name Mixin selector
      official b Ldvm;b(Ljava/lang/String;[Ljava/lang/Object;)V
      intermediary method_1456 Lnet/minecraft/class_309;method_1456(Ljava/lang/String;[Ljava/lang/Object;)V
      named debugError Lnet/minecraft/client/Keyboard;debugError(Ljava/lang/String;[Ljava/lang/Object;)V
    • method_35697

      private void method_35697(String key, Object[] args)
      Mappings:
      Namespace Name Mixin selector
      official c Ldvm;c(Ljava/lang/String;[Ljava/lang/Object;)V
      intermediary method_35697 Lnet/minecraft/class_309;method_35697(Ljava/lang/String;[Ljava/lang/Object;)V
      named method_35697 Lnet/minecraft/client/Keyboard;method_35697(Ljava/lang/String;[Ljava/lang/Object;)V
    • processF3

      private boolean processF3(int key)
      Mappings:
      Namespace Name Mixin selector
      official b Ldvm;b(I)Z
      intermediary method_1468 Lnet/minecraft/class_309;method_1468(I)Z
      named processF3 Lnet/minecraft/client/Keyboard;processF3(I)Z
    • copyLookAt

      private void copyLookAt(boolean bool, boolean bool2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(ZZ)V
      intermediary method_1465 Lnet/minecraft/class_309;method_1465(ZZ)V
      named copyLookAt Lnet/minecraft/client/Keyboard;copyLookAt(ZZ)V
    • copyBlock

      private void copyBlock(BlockState state, BlockPos pos, @Nullable @Nullable NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(Lcks;Lgg;Lna;)V
      intermediary method_1475 Lnet/minecraft/class_309;method_1475(Lnet/minecraft/class_2680;Lnet/minecraft/class_2338;Lnet/minecraft/class_2487;)V
      named copyBlock Lnet/minecraft/client/Keyboard;copyBlock(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/nbt/NbtCompound;)V
    • copyEntity

      private void copyEntity(Identifier id, Vec3d pos, @Nullable @Nullable NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(Lww;Ldna;Lna;)V
      intermediary method_1469 Lnet/minecraft/class_309;method_1469(Lnet/minecraft/class_2960;Lnet/minecraft/class_243;Lnet/minecraft/class_2487;)V
      named copyEntity Lnet/minecraft/client/Keyboard;copyEntity(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/nbt/NbtCompound;)V
    • onKey

      public void onKey(long window, int key, int scancode, int int2, int modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(JIIII)V
      intermediary method_1466 Lnet/minecraft/class_309;method_1466(JIIII)V
      named onKey Lnet/minecraft/client/Keyboard;onKey(JIIII)V
    • onChar

      private void onChar(long window, int int2, int modifiers)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(JII)V
      intermediary method_1457 Lnet/minecraft/class_309;method_1457(JII)V
      named onChar Lnet/minecraft/client/Keyboard;onChar(JII)V
    • setRepeatEvents

      public void setRepeatEvents(boolean repeatEvents)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(Z)V
      intermediary method_1462 Lnet/minecraft/class_309;method_1462(Z)V
      named setRepeatEvents Lnet/minecraft/client/Keyboard;setRepeatEvents(Z)V
    • setup

      public void setup(long window)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(J)V
      intermediary method_1472 Lnet/minecraft/class_309;method_1472(J)V
      named setup Lnet/minecraft/client/Keyboard;setup(J)V
    • getClipboard

      public String getClipboard()
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a()Ljava/lang/String;
      intermediary method_1460 Lnet/minecraft/class_309;method_1460()Ljava/lang/String;
      named getClipboard Lnet/minecraft/client/Keyboard;getClipboard()Ljava/lang/String;
    • setClipboard

      public void setClipboard(String clipboard)
      Mappings:
      Namespace Name Mixin selector
      official a Ldvm;a(Ljava/lang/String;)V
      intermediary method_1455 Lnet/minecraft/class_309;method_1455(Ljava/lang/String;)V
      named setClipboard Lnet/minecraft/client/Keyboard;setClipboard(Ljava/lang/String;)V
    • pollDebugCrash

      public void pollDebugCrash()
      Mappings:
      Namespace Name Mixin selector
      official b Ldvm;b()V
      intermediary method_1474 Lnet/minecraft/class_309;method_1474()V
      named pollDebugCrash Lnet/minecraft/client/Keyboard;pollDebugCrash()V