Package net.minecraft.client.gui
Class ResourceLoadProgressGui
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.LoadingGui
net.minecraft.client.gui.ResourceLoadProgressGui
- All Implemented Interfaces:
IRenderable
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private float
private final boolean
private long
private long
private final Minecraft
private static final ResourceLocation
private final IAsyncReloader
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
ConstructorDescriptionResourceLoadProgressGui
(Minecraft p_i225928_1_, IAsyncReloader p_i225928_2_, Consumer<Optional<Throwable>> p_i225928_3_, boolean p_i225928_4_) -
Method Summary
Modifier and TypeMethodDescriptionprivate 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_) boolean
static void
registerTextures
(Minecraft p_212970_0_) void
render
(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_) Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
Field Details
-
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
-
reload
-
onFinish
-
fadeIn
private final boolean fadeIn -
currentProgress
private float currentProgress -
fadeOutStart
private long fadeOutStart -
fadeInStart
private long fadeInStart
-
-
Constructor Details
-
ResourceLoadProgressGui
public ResourceLoadProgressGui(Minecraft p_i225928_1_, IAsyncReloader p_i225928_2_, Consumer<Optional<Throwable>> p_i225928_3_, boolean p_i225928_4_)
-
-
Method Details
-
registerTextures
-
render
-
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 classLoadingGui
-