Class SplashScreen

All Implemented Interfaces:
Drawable

@Environment(CLIENT)
public class SplashScreen
extends Overlay
  • Field Details

    • BRAND_ARGB

      private static final int BRAND_ARGB
    • BRAND_RGB

      private static final int BRAND_RGB
    • client

      private final MinecraftClient client
    • reloadMonitor

      private final ResourceReloadMonitor reloadMonitor
    • exceptionHandler

      private final Consumer<Optional<Throwable>> exceptionHandler
    • reloading

      private final boolean reloading
    • progress

      private float progress
    • applyCompleteTime

      private long applyCompleteTime
    • prepareCompleteTime

      private long prepareCompleteTime
  • Constructor Details

  • Method Details

    • init

      public static void init​(MinecraftClient client)
    • render

      public void render​(MatrixStack matrices, int mouseX, int mouseY, float delta)
    • renderProgressBar

      private void renderProgressBar​(MatrixStack matrices, int x1, int y1, int x2, int y2, float opacity)
    • pausesGame

      public boolean pausesGame()
      Overrides:
      pausesGame in class Overlay