Package net.minecraft.client
Class KeyboardListener
- java.lang.Object
-
- net.minecraft.client.KeyboardListener
-
public class KeyboardListener extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private ClipboardHelper
clipboardManager
private long
debugCrashKeyReportedCount
private long
debugCrashKeyReportedTime
private long
debugCrashKeyTime
private boolean
handledDebugKey
private Minecraft
minecraft
private boolean
sendRepeatsToGui
-
Constructor Summary
Constructors Constructor Description KeyboardListener(Minecraft p_i47674_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private 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(java.lang.String p_197964_1_, java.lang.Object... p_197964_2_)
private void
debugWarningTranslated(java.lang.String p_204869_1_, java.lang.Object... p_204869_2_)
java.lang.String
getClipboard()
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(java.lang.String p_197960_1_)
void
setSendRepeatsToGui(boolean p_197967_1_)
void
setup(long p_197968_1_)
void
tick()
-
-
-
Field Detail
-
minecraft
private final Minecraft minecraft
-
sendRepeatsToGui
private boolean sendRepeatsToGui
-
clipboardManager
private final ClipboardHelper clipboardManager
-
debugCrashKeyTime
private long debugCrashKeyTime
-
debugCrashKeyReportedTime
private long debugCrashKeyReportedTime
-
debugCrashKeyReportedCount
private long debugCrashKeyReportedCount
-
handledDebugKey
private boolean handledDebugKey
-
-
Constructor Detail
-
KeyboardListener
public KeyboardListener(Minecraft p_i47674_1_)
-
-
Method Detail
-
debugFeedbackTranslated
private void debugFeedbackTranslated(java.lang.String p_197964_1_, java.lang.Object... p_197964_2_)
-
debugWarningTranslated
private void debugWarningTranslated(java.lang.String p_204869_1_, java.lang.Object... p_204869_2_)
-
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
public java.lang.String getClipboard()
-
setClipboard
public void setClipboard(java.lang.String p_197960_1_)
-
tick
public void tick()
-
-