Class LoadingErrorScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

@Internal public class LoadingErrorScreen extends ErrorScreen
  • Field Details

  • Constructor Details

    • LoadingErrorScreen

      public LoadingErrorScreen(List<net.neoforged.fml.ModLoadingIssue> issues, @Nullable @Nullable File dumpedLocation, Runnable nextScreenTask)
  • Method Details

    • init

      public void init()
      Overrides:
      init in class ErrorScreen
    • render

      public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Description copied from class: ErrorScreen
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class ErrorScreen
      Parameters:
      guiGraphics - the GuiGraphics object used for rendering.
      mouseX - the x-coordinate of the mouse cursor.
      mouseY - the y-coordinate of the mouse cursor.
      partialTick - the partial tick time.
    • drawMultiLineCenteredString

      private void drawMultiLineCenteredString(GuiGraphics guiGraphics, Font fr, Component str, int x, int y)