Class ResourceLoadProgressGui

All Implemented Interfaces:
IRenderable

public class ResourceLoadProgressGui extends LoadingGui
  • Field Details

    • MOJANG_STUDIOS_LOGO_LOCATION

      private static final ResourceLocation MOJANG_STUDIOS_LOGO_LOCATION
    • BRAND_BACKGROUND

      private static final int BRAND_BACKGROUND
    • BRAND_BACKGROUND_NO_ALPHA

      private static final int BRAND_BACKGROUND_NO_ALPHA
    • minecraft

      private final Minecraft minecraft
    • reload

      private final IAsyncReloader reload
    • onFinish

      private final Consumer<Optional<Throwable>> onFinish
    • fadeIn

      private final boolean fadeIn
    • currentProgress

      private float currentProgress
    • fadeOutStart

      private long fadeOutStart
    • fadeInStart

      private long fadeInStart
  • Constructor Details

  • Method Details

    • registerTextures

      public static void registerTextures(Minecraft p_212970_0_)
    • render

      public void render(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_)
    • drawProgressBar

      private void drawProgressBar(MatrixStack p_238629_1_, int p_238629_2_, int p_238629_3_, int p_238629_4_, int p_238629_5_, float p_238629_6_)
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class LoadingGui