Class DisconnectedRealmsScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class DisconnectedRealmsScreen extends RealmsScreen
  • Field Details

    • reason

      private final Component reason
    • message

      private MultiLineLabel message
    • parent

      private final Screen parent
    • textHeight

      private int textHeight
  • Constructor Details

  • Method Details

    • init

      public void init()
      Overrides:
      init in class Screen
    • getNarrationMessage

      public Component getNarrationMessage()
      Overrides:
      getNarrationMessage in class Screen
    • onClose

      public void onClose()
      Overrides:
      onClose in class Screen
    • render

      public void render(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick)
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      pGuiGraphics - the GuiGraphics object used for rendering.
      pMouseX - the x-coordinate of the mouse cursor.
      pMouseY - the y-coordinate of the mouse cursor.
      pPartialTick - the partial tick time.