Class WarningScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Widget
Direct Known Subclasses:
Realms32bitWarningScreen, SafetyScreen

public abstract class WarningScreen extends Screen
  • Field Details

    • titleComponent

      private final Component titleComponent
    • content

      private final Component content
    • check

      private final Component check
    • narration

      private final Component narration
    • previous

      protected final Screen previous
    • stopShowing

      @Nullable protected Checkbox stopShowing
    • message

      private MultiLineLabel message
  • Constructor Details

  • Method Details

    • initButtons

      protected abstract void initButtons(int p_210922_)
    • init

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

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

      public void render(PoseStack p_210924_, int p_210925_, int p_210926_, float p_210927_)
      Specified by:
      render in interface Widget
      Overrides:
      render in class Screen