Class SleepingChatScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class SleepingChatScreen extends ChatScreen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/SleepingChatScreen
intermediary net/minecraft/class_423
official glw
  • Field Details

    • stopSleepingButton

      private ButtonWidget stopSleepingButton
      Mappings:
      Namespace Name Mixin selector
      named stopSleepingButton Lnet/minecraft/client/gui/screen/SleepingChatScreen;stopSleepingButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_41710 Lnet/minecraft/class_423;field_41710:Lnet/minecraft/class_4185;
      official f Lglw;f:Lgdp;
  • Constructor Details

    • SleepingChatScreen

      public SleepingChatScreen(String text, boolean draft)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/ChatScreen;<init>(Ljava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_408;<init>(Ljava/lang/String;Z)V
      official <init> Lglg;<init>(Ljava/lang/String;Z)V
  • Method Details

    • init

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

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

      Overrides:
      init in class ChatScreen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official bg_ Lgmj;bg_()V
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float deltaTicks)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class ChatScreen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lget;a(Lgdd;IIF)V
    • close

      public void close()
      Overrides:
      close in class ChatScreen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aX_ Lgmj;aX_()V
    • charTyped

      public boolean charTyped(CharInput input)
      Callback for when a character input has been captured. The key code is identified by the constants in GLFW class.
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named charTyped Lnet/minecraft/client/gui/Element;charTyped(Lnet/minecraft/client/input/CharInput;)Z
      intermediary method_25400 Lnet/minecraft/class_364;method_25400(Lnet/minecraft/class_11905;)Z
      official a Lggw;a(Lgte;)Z
    • keyPressed

      public boolean keyPressed(KeyInput input)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class ChatScreen
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Z
      official a Lggw;a(Lgth;)Z
    • stopSleeping

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

      public void closeChatIfEmpty()
      Mappings:
      Namespace Name Mixin selector
      named closeChatIfEmpty Lnet/minecraft/client/gui/screen/SleepingChatScreen;closeChatIfEmpty()V
      intermediary method_38530 Lnet/minecraft/class_423;method_38530()V
      official o Lglw;o()V