Class FileFixerProgressScreen

All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement

public class FileFixerProgressScreen extends Screen
  • Field Details

  • Constructor Details

    • FileFixerProgressScreen

      public FileFixerProgressScreen(UpgradeProgress upgradeProgress)
  • Method Details

    • shouldCloseOnEsc

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

      public void render(GuiGraphics graphics, int mouseX, int mouseY, float partialTick)
      Description copied from interface: Renderable
      Renders the graphical user interface (GUI) element.
      Specified by:
      render in interface Renderable
      Overrides:
      render in class Screen
      Parameters:
      graphics - 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.
    • renderTitle

      private void renderTitle(GuiGraphics graphics, int xCenter, int yTop)
    • renderProgress

      private void renderProgress(GuiGraphics graphics, int xCenter, int textTop)
    • renderProgressBar

      private void renderProgressBar(GuiGraphics graphics, int xCenter, int y, float progress)
    • renderTypeText

      private void renderTypeText(GuiGraphics graphics, int xCenter, int y)
    • renderTypeProgress

      private void renderTypeProgress(GuiGraphics graphics, int xCenter, int y, float progress)
    • renderFileStats

      private void renderFileStats(GuiGraphics graphics, int xCenter, int yStart, int converted, int total)
    • renderScanning

      private void renderScanning(GuiGraphics graphics, int xCenter, int textTop)
    • renderFileFixerCount

      private void renderFileFixerCount(GuiGraphics graphics, int xCenter, int y, int current, int total)