Class Keyboard

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

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

    • DEBUG_CRASH_TIME

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

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      named client Lnet/minecraft/client/Keyboard;client:Lnet/minecraft/client/MinecraftClient;
      intermediary field_1678 Lnet/minecraft/class_309;field_1678:Lnet/minecraft/class_310;
      official b Lfme;b:Lfmf;
    • clipboard

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

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

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

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

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

    • Keyboard

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

    • processDebugKeys

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

      private void addDebugMessage(Formatting formatting, Text text)
      Mappings:
      Namespace Name Mixin selector
      named addDebugMessage Lnet/minecraft/client/Keyboard;addDebugMessage(Lnet/minecraft/util/Formatting;Lnet/minecraft/text/Text;)V
      intermediary method_37273 Lnet/minecraft/class_309;method_37273(Lnet/minecraft/class_124;Lnet/minecraft/class_2561;)V
      official a Lfme;a(Ln;Lxv;)V
    • debugLog

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

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

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

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

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

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

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

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

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

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

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

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

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

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