Class KeyboardListener

java.lang.Object
net.minecraft.client.KeyboardListener

public class KeyboardListener extends Object
  • Field Details

    • 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 Details

    • KeyboardListener

      public KeyboardListener(Minecraft p_i47674_1_)
  • Method Details

    • debugFeedbackTranslated

      private void debugFeedbackTranslated(String p_197964_1_, Object... p_197964_2_)
    • debugWarningTranslated

      private void debugWarningTranslated(String p_204869_1_, 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 String getClipboard()
    • setClipboard

      public void setClipboard(String p_197960_1_)
    • tick

      public void tick()