Package net.minecraft.client
Class KeyboardHandler
java.lang.Object
net.minecraft.client.KeyboardHandler
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ClipboardManager
static final int
private long
private long
private long
private boolean
private final Minecraft
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
charTyped
(long p_90890_, int p_90891_, int p_90892_) private void
copyCreateBlockCommand
(BlockState p_90900_, BlockPos p_90901_, CompoundTag p_90902_) private void
copyCreateEntityCommand
(ResourceLocation p_90923_, Vec3 p_90924_, CompoundTag p_90925_) private void
copyRecreateCommand
(boolean p_90929_, boolean p_90930_) private void
debugComponent
(ChatFormatting p_167825_, Component p_167826_) private void
debugFeedback
(String p_167838_, Object... p_167839_) private void
debugFeedbackComponent
(Component p_167823_) private void
debugFeedbackTranslated
(String p_90914_, Object... p_90915_) private void
debugWarningTranslated
(String p_90949_, Object... p_90950_) private boolean
handleChunkDebugKeys
(int p_167814_) private boolean
handleDebugKeys
(int p_90933_) void
keyPress
(long p_90894_, int p_90895_, int p_90896_, int p_90897_, int p_90898_) void
setClipboard
(String p_90912_) void
setup
(long p_90888_) void
tick()
-
Field Details
-
DEBUG_CRASH_TIME
public static final int DEBUG_CRASH_TIME- See Also:
-
minecraft
-
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_) -
setup
public void setup(long p_90888_) -
getClipboard
-
setClipboard
-
tick
public void tick()
-