Class ChatScreen

All Implemented Interfaces:
IGuiEventListener, INestedGuiEventHandler, IRenderable, IScreen
Direct Known Subclasses:
SleepInMultiplayerScreen

public class ChatScreen extends Screen
  • Field Details

  • Constructor Details

    • ChatScreen

      public ChatScreen(String p_i1024_1_)
  • Method Details

    • init

      protected void init()
      Overrides:
      init in class Screen
    • resize

      public void resize(Minecraft p_231152_1_, int p_231152_2_, int p_231152_3_)
      Overrides:
      resize in class Screen
    • removed

      public void removed()
      Overrides:
      removed in class Screen
    • tick

      public void tick()
      Specified by:
      tick in interface IScreen
      Overrides:
      tick in class Screen
    • onEdited

      private void onEdited(String p_212997_1_)
    • keyPressed

      public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_)
      Specified by:
      keyPressed in interface IGuiEventListener
      Specified by:
      keyPressed in interface INestedGuiEventHandler
      Overrides:
      keyPressed in class Screen
    • mouseScrolled

      public boolean mouseScrolled(double p_231043_1_, double p_231043_3_, double p_231043_5_)
    • mouseClicked

      public boolean mouseClicked(double p_231044_1_, double p_231044_3_, int p_231044_5_)
    • insertText

      protected void insertText(String p_231155_1_, boolean p_231155_2_)
      Overrides:
      insertText in class Screen
    • moveInHistory

      public void moveInHistory(int p_146402_1_)
    • render

      public void render(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_)
      Specified by:
      render in interface IRenderable
      Overrides:
      render in class Screen
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class Screen
    • setChatLine

      private void setChatLine(String p_208604_1_)