Modifier and Type | Class and Description |
---|---|
(package private) static class |
SplashScreen.LogoTexture |
Modifier and Type | Field and Description |
---|---|
private long |
applyCompleteTime |
private MinecraftClient |
client |
private Consumer<Optional<Throwable>> |
exceptionHandler |
private static int |
field_25041 |
private static int |
field_25042 |
private static Identifier |
LOGO |
private long |
prepareCompleteTime |
private float |
progress |
private boolean |
reloading |
private ResourceReloadMonitor |
reloadMonitor |
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
SplashScreen(MinecraftClient client,
ResourceReloadMonitor monitor,
Consumer<Optional<Throwable>> exceptionHandler,
boolean reloading) |
Modifier and Type | Method and Description |
---|---|
static void |
init(MinecraftClient client) |
boolean |
pausesGame() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
private void |
renderProgressBar(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5,
float float2) |
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
private static final Identifier LOGO
private static final int field_25041
private static final int field_25042
private final MinecraftClient client
private final ResourceReloadMonitor reloadMonitor
private final boolean reloading
private float progress
private long applyCompleteTime
private long prepareCompleteTime
public SplashScreen(MinecraftClient client, ResourceReloadMonitor monitor, Consumer<Optional<Throwable>> exceptionHandler, boolean reloading)
public static void init(MinecraftClient client)
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
private void renderProgressBar(MatrixStack matrixStack, int int2, int int3, int int4, int int5, float float2)
public boolean pausesGame()
pausesGame
in class Overlay