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 final IntSupplier
private float
static final long
static final long
private final boolean
private long
private long
private static final int
private static final int
private static final int
private static final float
private static final int
private static final float
private static final int
private final Minecraft
(package private) static final ResourceLocation
private final ReloadInstance
private static final 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, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, 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:
-
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
-
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
-