Class KeyboardHandler

java.lang.Object
net.minecraft.client.KeyboardHandler

public class KeyboardHandler extends Object
  • Field Details

    • DEBUG_CRASH_TIME

      public static final int DEBUG_CRASH_TIME
      See Also:
    • minecraft

      private final Minecraft minecraft
    • clipboardManager

      private final ClipboardManager clipboardManager
    • debugCrashKeyTime

      private long debugCrashKeyTime
    • debugCrashKeyReportedTime

      private long debugCrashKeyReportedTime
    • debugCrashKeyReportedCount

      private long debugCrashKeyReportedCount
    • handledDebugKey

      private boolean handledDebugKey
  • Constructor Details

    • KeyboardHandler

      public KeyboardHandler(Minecraft p_90875_)
  • Method Details

    • handleChunkDebugKeys

      private boolean handleChunkDebugKeys(int p_167814_)
    • debugComponent

      private void debugComponent(ChatFormatting p_167825_, Component p_167826_)
    • debugFeedbackComponent

      private void debugFeedbackComponent(Component p_167823_)
    • debugFeedbackTranslated

      private void debugFeedbackTranslated(String p_90914_, Object... p_90915_)
    • debugWarningTranslated

      private void debugWarningTranslated(String p_90949_, Object... p_90950_)
    • debugFeedback

      private void debugFeedback(String p_167838_, Object... p_167839_)
    • 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

      public String getClipboard()
    • setClipboard

      public void setClipboard(String p_90912_)
    • tick

      public void tick()