Class LoadingOverlay

java.lang.Object
net.minecraft.client.gui.screens.Overlay
net.minecraft.client.gui.screens.LoadingOverlay
All Implemented Interfaces:
Renderable

public class LoadingOverlay extends Overlay
  • Field Details

    • MOJANG_STUDIOS_LOGO_LOCATION

      static final ResourceLocation MOJANG_STUDIOS_LOGO_LOCATION
    • LOGO_BACKGROUND_COLOR

      private static final int LOGO_BACKGROUND_COLOR
    • LOGO_BACKGROUND_COLOR_DARK

      private static final int LOGO_BACKGROUND_COLOR_DARK
    • BRAND_BACKGROUND

      private static final IntSupplier BRAND_BACKGROUND
    • LOGO_SCALE

      private static final int LOGO_SCALE
      See Also:
    • LOGO_QUARTER_FLOAT

      private static final float LOGO_QUARTER_FLOAT
      See Also:
    • LOGO_QUARTER

      private static final int LOGO_QUARTER
      See Also:
    • LOGO_HALF

      private static final int LOGO_HALF
      See Also:
    • LOGO_OVERLAP

      private static final float LOGO_OVERLAP
      See Also:
    • SMOOTHING

      private static final float SMOOTHING
      See Also:
    • FADE_OUT_TIME

      public static final long FADE_OUT_TIME
      See Also:
    • FADE_IN_TIME

      public static final long FADE_IN_TIME
      See Also:
    • minecraft

      private final Minecraft minecraft
    • reload

      private final ReloadInstance 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_96190_)
    • replaceAlpha

      private static int replaceAlpha(int p_169325_, int p_169326_)
    • render

      public void render(GuiGraphics p_281839_, int p_282704_, int p_283650_, float p_283394_)
    • drawProgressBar

      private void drawProgressBar(GuiGraphics p_283125_, int p_96184_, int p_96185_, int p_96186_, int p_96187_, float p_96188_)
    • isPauseScreen

      public boolean isPauseScreen()
      Overrides:
      isPauseScreen in class Overlay