Package net.minecraft.client.gui.screens
Class LoadingOverlay
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.screens.Overlay
net.minecraft.client.gui.screens.LoadingOverlay
- All Implemented Interfaces:
Widget
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static IntSupplier
private float
static long
static long
private boolean
private long
private long
private static int
private static int
private static int
private static float
private static int
private static float
private static int
private Minecraft
(package private) static ResourceLocation
private ReloadInstance
private static float
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionLoadingOverlay(Minecraft p_96172_, ReloadInstance p_96173_, Consumer<Optional<Throwable>> p_96174_, boolean p_96175_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawProgressBar(PoseStack p_96183_, int p_96184_, int p_96185_, int p_96186_, int p_96187_, float p_96188_)
boolean
static void
registerTextures(Minecraft p_96190_)
void
private static int
replaceAlpha(int p_169325_, int p_169326_)
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
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
-
LOGO_SCALE
private static final int LOGO_SCALE- See Also:
- Constant Field Values
-
LOGO_QUARTER_FLOAT
private static final float LOGO_QUARTER_FLOAT- See Also:
- Constant Field Values
-
LOGO_QUARTER
private static final int LOGO_QUARTER- See Also:
- Constant Field Values
-
LOGO_HALF
private static final int LOGO_HALF- See Also:
- Constant Field Values
-
LOGO_OVERLAP
private static final float LOGO_OVERLAP- See Also:
- Constant Field Values
-
SMOOTHING
private static final float SMOOTHING- See Also:
- Constant Field Values
-
FADE_OUT_TIME
public static final long FADE_OUT_TIME- See Also:
- Constant Field Values
-
FADE_IN_TIME
public static final long FADE_IN_TIME- See Also:
- Constant Field Values
-
minecraft
-
reload
-
onFinish
-
fadeIn
private final boolean fadeIn -
currentProgress
private float currentProgress -
fadeOutStart
private long fadeOutStart -
fadeInStart
private long fadeInStart
-
-
Constructor Details
-
LoadingOverlay
public LoadingOverlay(Minecraft p_96172_, ReloadInstance p_96173_, Consumer<Optional<Throwable>> p_96174_, boolean p_96175_)
-
-
Method Details
-
registerTextures
-
replaceAlpha
private static int replaceAlpha(int p_169325_, int p_169326_) -
render
-
drawProgressBar
private void drawProgressBar(PoseStack p_96183_, int p_96184_, int p_96185_, int p_96186_, int p_96187_, float p_96188_) -
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classOverlay
-