Package net.minecraft.client
Class Keyboard
java.lang.Object
net.minecraft.client.Keyboard
- Mappings:
- Namespace - Name - official - enm- intermediary - net/minecraft/class_309- named - net/minecraft/client/Keyboard
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final MinecraftClientprivate final Clipboardstatic final intprivate longprivate longprivate longprivate boolean
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidaddDebugMessage(Formatting formatting, Text text) private voidcopyBlock(BlockState state, BlockPos pos, @Nullable NbtCompound nbt) private voidcopyEntity(Identifier id, Vec3d pos, @Nullable NbtCompound nbt) private voidcopyLookAt(boolean hasQueryPermission, boolean queryServer) private voiddebugError(String key, Object[] args) private voiddebugFormattedLog(String pattern, Object[] args) private voidprivate voidprivate voidonChar(long window, int codePoint, int modifiers) voidonKey(long window, int key, int scancode, int action, int modifiers) voidprivate booleanprocessDebugKeys(int key) private booleanprocessF3(int key) voidsetClipboard(String clipboard) voidsetup(long window) 
- 
Field Details- 
DEBUG_CRASH_TIMEpublic static final int DEBUG_CRASH_TIME- See Also:
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a:I- intermediary - field_32143- Lnet/minecraft/class_309;field_32143:I- named - DEBUG_CRASH_TIME- Lnet/minecraft/client/Keyboard;DEBUG_CRASH_TIME:I
 
- 
client- Mappings:
- Namespace - Name - Mixin selector - official - b- Lenm;b:Lenn;- intermediary - field_1678- Lnet/minecraft/class_309;field_1678:Lnet/minecraft/class_310;- named - client- Lnet/minecraft/client/Keyboard;client:Lnet/minecraft/client/MinecraftClient;
 
- 
clipboard- Mappings:
- Namespace - Name - Mixin selector - official - c- Lenm;c:Legy;- 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;
 
- 
debugCrashStartTimeprivate long debugCrashStartTime- Mappings:
- Namespace - Name - Mixin selector - official - d- Lenm;d:J- intermediary - field_1682- Lnet/minecraft/class_309;field_1682:J- named - debugCrashStartTime- Lnet/minecraft/client/Keyboard;debugCrashStartTime:J
 
- 
debugCrashLastLogTimeprivate long debugCrashLastLogTime- Mappings:
- Namespace - Name - Mixin selector - official - e- Lenm;e:J- intermediary - field_1681- Lnet/minecraft/class_309;field_1681:J- named - debugCrashLastLogTime- Lnet/minecraft/client/Keyboard;debugCrashLastLogTime:J
 
- 
debugCrashElapsedTimeprivate long debugCrashElapsedTime- Mappings:
- Namespace - Name - Mixin selector - official - f- Lenm;f:J- intermediary - field_1680- Lnet/minecraft/class_309;field_1680:J- named - debugCrashElapsedTime- Lnet/minecraft/client/Keyboard;debugCrashElapsedTime:J
 
- 
switchF3Stateprivate boolean switchF3State- Mappings:
- Namespace - Name - Mixin selector - official - g- Lenm;g:Z- intermediary - field_1679- Lnet/minecraft/class_309;field_1679:Z- named - switchF3State- Lnet/minecraft/client/Keyboard;switchF3State:Z
 
 
- 
- 
Constructor Details- 
Keyboard- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lenm;<init>(Lenn;)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- 
processDebugKeysprivate boolean processDebugKeys(int key) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(I)Z- intermediary - method_35696- Lnet/minecraft/class_309;method_35696(I)Z- named - processDebugKeys- Lnet/minecraft/client/Keyboard;processDebugKeys(I)Z
 
- 
addDebugMessage- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(Ln;Lsw;)V- intermediary - method_37273- Lnet/minecraft/class_309;method_37273(Lnet/minecraft/class_124;Lnet/minecraft/class_2561;)V- named - addDebugMessage- Lnet/minecraft/client/Keyboard;addDebugMessage(Lnet/minecraft/util/Formatting;Lnet/minecraft/text/Text;)V
 
- 
debugLog- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(Lsw;)V- intermediary - method_37272- Lnet/minecraft/class_309;method_37272(Lnet/minecraft/class_2561;)V- named - debugLog- Lnet/minecraft/client/Keyboard;debugLog(Lnet/minecraft/text/Text;)V
 
- 
debugLog- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;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 - debugLog- Lnet/minecraft/client/Keyboard;debugLog(Ljava/lang/String;[Ljava/lang/Object;)V
 
- 
debugError- Mappings:
- Namespace - Name - Mixin selector - official - b- Lenm;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
 
- 
debugFormattedLog- Mappings:
- Namespace - Name - Mixin selector - official - c- Lenm;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 - debugFormattedLog- Lnet/minecraft/client/Keyboard;debugFormattedLog(Ljava/lang/String;[Ljava/lang/Object;)V
 
- 
processF3private boolean processF3(int key) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lenm;b(I)Z- intermediary - method_1468- Lnet/minecraft/class_309;method_1468(I)Z- named - processF3- Lnet/minecraft/client/Keyboard;processF3(I)Z
 
- 
copyLookAtprivate void copyLookAt(boolean hasQueryPermission, boolean queryServer) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(ZZ)V- intermediary - method_1465- Lnet/minecraft/class_309;method_1465(ZZ)V- named - copyLookAt- Lnet/minecraft/client/Keyboard;copyLookAt(ZZ)V
 
- 
copyBlock- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(Ldcb;Lgu;Lqr;)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- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(Lacq;Leei;Lqr;)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
 
- 
onKeypublic void onKey(long window, int key, int scancode, int action, int modifiers) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(JIIII)V- intermediary - method_1466- Lnet/minecraft/class_309;method_1466(JIIII)V- named - onKey- Lnet/minecraft/client/Keyboard;onKey(JIIII)V
 
- 
onCharprivate void onChar(long window, int codePoint, int modifiers) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(JII)V- intermediary - method_1457- Lnet/minecraft/class_309;method_1457(JII)V- named - onChar- Lnet/minecraft/client/Keyboard;onChar(JII)V
 
- 
setuppublic void setup(long window) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;a(J)V- intermediary - method_1472- Lnet/minecraft/class_309;method_1472(J)V- named - setup- Lnet/minecraft/client/Keyboard;setup(J)V
 
- 
getClipboard- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;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- Mappings:
- Namespace - Name - Mixin selector - official - a- Lenm;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
 
- 
pollDebugCrashpublic void pollDebugCrash()- Mappings:
- Namespace - Name - Mixin selector - official - b- Lenm;b()V- intermediary - method_1474- Lnet/minecraft/class_309;method_1474()V- named - pollDebugCrash- Lnet/minecraft/client/Keyboard;pollDebugCrash()V
 
 
-