类 SleepingChatScreen

    • 构造器详细资料

      • SleepingChatScreen

        public SleepingChatScreen()
    • 方法详细资料

      • init

        protected void init()
        Called when a screen should be initialized.

        This method is called when this screen is opened or resized.

        覆盖:
        init 在类中 ChatScreen
        Mappings:
        Namespace Name Mixin selector
        official b Ldzg;b()V
        intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
        named init Lnet/minecraft/client/gui/screen/Screen;init()V
      • onClose

        public void onClose()
        覆盖:
        onClose 在类中 Screen
        Mappings:
        Namespace Name Mixin selector
        official aA_ Ldzg;aA_()V
        intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
        named onClose Lnet/minecraft/client/gui/screen/Screen;onClose()V
      • keyPressed

        public boolean keyPressed​(int keyCode,
                                  int scanCode,
                                  int modifiers)
        Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
        指定者:
        keyPressed 在接口中 Element
        指定者:
        keyPressed 在接口中 ParentElement
        覆盖:
        keyPressed 在类中 ChatScreen
        参数:
        keyCode - the named key code of the event as described in the GLFW class
        scanCode - the unique/platform-specific scan code of the keyboard input
        modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
        返回:
        true to indicate that the event handling is successful/valid
        另请参阅:
        Keyboard.onKey(long, int, int, int, int), GLFW.GLFW_KEY_Q, GLFWKeyCallbackI.invoke(long, int, int, int, int)
        Mappings:
        Namespace Name Mixin selector
        official a Ldwv;a(III)Z
        intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
        named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      • stopSleeping

        private void stopSleeping()
        Mappings:
        Namespace Name Mixin selector
        official h Ldyr;h()V
        intermediary method_2180 Lnet/minecraft/class_423;method_2180()V
        named stopSleeping Lnet/minecraft/client/gui/screen/SleepingChatScreen;stopSleeping()V