Package net.minecraft.client
Class KeyboardListener
java.lang.Object
net.minecraft.client.KeyboardListener
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ClipboardHelper
private long
private long
private long
private boolean
private final Minecraft
private boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
charTyped
(long p_197963_1_, int p_197963_3_, int p_197963_4_) private void
copyCreateBlockCommand
(BlockState p_211558_1_, BlockPos p_211558_2_, CompoundNBT p_211558_3_) private void
copyCreateEntityCommand
(ResourceLocation p_211557_1_, Vector3d p_211557_2_, CompoundNBT p_211557_3_) private void
copyRecreateCommand
(boolean p_211556_1_, boolean p_211556_2_) private void
debugFeedbackTranslated
(String p_197964_1_, Object... p_197964_2_) private void
debugWarningTranslated
(String p_204869_1_, Object... p_204869_2_) private boolean
handleDebugKeys
(int p_197962_1_) void
keyPress
(long p_197961_1_, int p_197961_3_, int p_197961_4_, int p_197961_5_, int p_197961_6_) void
setClipboard
(String p_197960_1_) void
setSendRepeatsToGui
(boolean p_197967_1_) void
setup
(long p_197968_1_) void
tick()
-
Field Details
-
minecraft
-
sendRepeatsToGui
private boolean sendRepeatsToGui -
clipboardManager
-
debugCrashKeyTime
private long debugCrashKeyTime -
debugCrashKeyReportedTime
private long debugCrashKeyReportedTime -
debugCrashKeyReportedCount
private long debugCrashKeyReportedCount -
handledDebugKey
private boolean handledDebugKey
-
-
Constructor Details
-
KeyboardListener
-
-
Method Details
-
debugFeedbackTranslated
-
debugWarningTranslated
-
handleDebugKeys
private boolean handleDebugKeys(int p_197962_1_) -
copyRecreateCommand
private void copyRecreateCommand(boolean p_211556_1_, boolean p_211556_2_) -
copyCreateBlockCommand
private void copyCreateBlockCommand(BlockState p_211558_1_, BlockPos p_211558_2_, @Nullable CompoundNBT p_211558_3_) -
copyCreateEntityCommand
private void copyCreateEntityCommand(ResourceLocation p_211557_1_, Vector3d p_211557_2_, @Nullable CompoundNBT p_211557_3_) -
keyPress
public void keyPress(long p_197961_1_, int p_197961_3_, int p_197961_4_, int p_197961_5_, int p_197961_6_) -
charTyped
private void charTyped(long p_197963_1_, int p_197963_3_, int p_197963_4_) -
setSendRepeatsToGui
public void setSendRepeatsToGui(boolean p_197967_1_) -
setup
public void setup(long p_197968_1_) -
getClipboard
-
setClipboard
-
tick
public void tick()
-