Class ErrorScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
Direct Known Subclasses:
LoadingErrorScreen

public class ErrorScreen extends Screen
  • Field Details

  • Constructor Details

  • Method Details

    • init

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

      public void render(GuiGraphics p_281469_, int p_96053_, int p_96054_, float p_96055_)
      Description copied from interface: Renderable
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      p_281469_ - the GuiGraphics object used for rendering.
      p_96053_ - the x-coordinate of the mouse cursor.
      p_96054_ - the y-coordinate of the mouse cursor.
      p_96055_ - the partial tick time.
    • renderBackground

      public void renderBackground(GuiGraphics p_294505_, int p_295605_, int p_295169_, float p_296050_)
      Overrides:
      renderBackground in class Screen
    • shouldCloseOnEsc

      public boolean shouldCloseOnEsc()
      Overrides:
      shouldCloseOnEsc in class Screen