Package net.minecraft.client
Class KeyboardHandler
java.lang.Object
net.minecraft.client.KeyboardHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ClipboardManagerstatic intprivate longprivate longprivate longprivate booleanprivate Minecraftprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier 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_)voidsetSendRepeatsToGui(boolean p_90927_)voidsetup(long p_90888_)voidtick()
-
Field Details
-
DEBUG_CRASH_TIME
public static final int DEBUG_CRASH_TIME- See Also:
- Constant Field Values
-
minecraft
-
sendRepeatsToGui
private boolean sendRepeatsToGui -
clipboardManager
-
debugCrashKeyTime
private long debugCrashKeyTime -
debugCrashKeyReportedTime
private long debugCrashKeyReportedTime -
debugCrashKeyReportedCount
private long debugCrashKeyReportedCount -
handledDebugKey
private boolean handledDebugKey
-
-
Constructor Details
-
KeyboardHandler
-
-
Method Details
-
handleChunkDebugKeys
private boolean handleChunkDebugKeys(int p_167814_) -
debugComponent
-
debugFeedbackComponent
-
debugFeedbackTranslated
-
debugWarningTranslated
-
debugFeedback
-
handleDebugKeys
private boolean handleDebugKeys(int p_90933_) -
copyRecreateCommand
private void copyRecreateCommand(boolean p_90929_, boolean p_90930_) -
copyCreateBlockCommand
private void copyCreateBlockCommand(BlockState p_90900_, BlockPos p_90901_, @Nullable CompoundTag p_90902_) -
copyCreateEntityCommand
private void copyCreateEntityCommand(ResourceLocation p_90923_, Vec3 p_90924_, @Nullable CompoundTag p_90925_) -
keyPress
public void keyPress(long p_90894_, int p_90895_, int p_90896_, int p_90897_, int p_90898_) -
charTyped
private void charTyped(long p_90890_, int p_90891_, int p_90892_) -
setSendRepeatsToGui
public void setSendRepeatsToGui(boolean p_90927_) -
setup
public void setup(long p_90888_) -
getClipboard
-
setClipboard
-
tick
public void tick()
-