Class KeyboardListener


  • public class KeyboardListener
    extends java.lang.Object
    • Field Detail

      • minecraft

        private final Minecraft minecraft
      • sendRepeatsToGui

        private boolean sendRepeatsToGui
      • 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_)
      • 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()