Class InBedChatScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class InBedChatScreen extends ChatScreen
  • Field Details

    • leaveBedButton

      private Button leaveBedButton
  • Constructor Details

    • InBedChatScreen

      public InBedChatScreen(String p_437222_, boolean p_437213_)
  • Method Details

    • init

      protected void init()
      Overrides:
      init in class ChatScreen
    • render

      public void render(GuiGraphics p_281659_, int p_283403_, int p_281737_, float p_282201_)
      Description copied from interface: Renderable
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class ChatScreen
      Parameters:
      p_281659_ - the GuiGraphics object used for rendering.
      p_283403_ - the x-coordinate of the mouse cursor.
      p_281737_ - the y-coordinate of the mouse cursor.
      p_282201_ - the partial tick time.
    • onClose

      public void onClose()
      Overrides:
      onClose in class ChatScreen
    • charTyped

      public boolean charTyped(CharacterEvent p_446925_)
    • keyPressed

      public boolean keyPressed(KeyEvent p_445775_)
      Specified by:
      keyPressed in interface ContainerEventHandler
      Specified by:
      keyPressed in interface GuiEventListener
      Overrides:
      keyPressed in class ChatScreen
    • sendWakeUp

      private void sendWakeUp()
    • onPlayerWokeUp

      public void onPlayerWokeUp()