Package net.minecraft.client
Class KeyboardHandler
java.lang.Object
net.minecraft.client.KeyboardHandler
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ClipboardManagerstatic final intprivate longprivate longprivate longprivate booleanprivate final Minecraft
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidcharTyped(long p_90890_, int p_90891_, int p_90892_) private voidcopyCreateBlockCommand(BlockState p_90900_, BlockPos p_90901_, CompoundTag p_90902_) private voidcopyCreateEntityCommand(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_) private voidcopyRecreateCommand(boolean p_90929_, boolean p_90930_) private voiddebugComponent(ChatFormatting p_167825_, Component p_167826_) private voiddebugFeedback(String p_167838_, Object... p_167839_) private voiddebugFeedbackComponent(Component p_167823_) private voiddebugFeedbackTranslated(String p_90914_, Object... p_90915_) private voiddebugWarningTranslated(String p_90949_, Object... p_90950_) private booleanhandleChunkDebugKeys(int p_167814_) private booleanhandleDebugKeys(int p_90933_) voidkeyPress(long p_90894_, int p_90895_, int p_90896_, int p_90897_, int p_90898_) voidsetClipboard(String p_90912_) voidsetup(long p_90888_) voidtick()
- 
Field Details- 
DEBUG_CRASH_TIMEpublic static final int DEBUG_CRASH_TIME- See Also:
 
- 
minecraft
- 
clipboardManager
- 
debugCrashKeyTimeprivate long debugCrashKeyTime
- 
debugCrashKeyReportedTimeprivate long debugCrashKeyReportedTime
- 
debugCrashKeyReportedCountprivate long debugCrashKeyReportedCount
- 
handledDebugKeyprivate boolean handledDebugKey
 
- 
- 
Constructor Details- 
KeyboardHandler
 
- 
- 
Method Details- 
handleChunkDebugKeysprivate boolean handleChunkDebugKeys(int p_167814_) 
- 
debugComponent
- 
debugFeedbackComponent
- 
debugFeedbackTranslated
- 
debugWarningTranslated
- 
debugFeedback
- 
handleDebugKeysprivate boolean handleDebugKeys(int p_90933_) 
- 
copyRecreateCommandprivate void copyRecreateCommand(boolean p_90929_, boolean p_90930_) 
- 
copyCreateBlockCommandprivate void copyCreateBlockCommand(BlockState p_90900_, BlockPos p_90901_, @Nullable CompoundTag p_90902_) 
- 
copyCreateEntityCommandprivate void copyCreateEntityCommand(ResourceLocation p_90923_, Vec3 p_90924_, @Nullable CompoundTag p_90925_) 
- 
keyPresspublic void keyPress(long p_90894_, int p_90895_, int p_90896_, int p_90897_, int p_90898_) 
- 
charTypedprivate void charTyped(long p_90890_, int p_90891_, int p_90892_) 
- 
setuppublic void setup(long p_90888_) 
- 
getClipboard
- 
setClipboard
- 
tickpublic void tick()
 
-