Class DisconnectedScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Widget

public class DisconnectedScreen extends Screen
  • Field Details

    • reason

      private final Component reason
    • message

      private MultiLineLabel message
    • parent

      private final Screen parent
    • textHeight

      private int textHeight
  • Constructor Details

  • Method Details

    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Overrides:
      shouldCloseOnEsc in class Screen
    • init

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

      public void render(PoseStack p_95997_, int p_95998_, int p_95999_, float p_96000_)
      Specified by:
      render in interface Widget
      Overrides:
      render in class Screen