Package net.minecraft.client.gui.screen
Class SplashScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Overlay
net.minecraft.client.gui.screen.SplashScreen
- All Implemented Interfaces:
Drawable
@Environment(CLIENT) public class SplashScreen extends Overlay
- Mappings:
Namespace Name official dus
intermediary net/minecraft/class_425
named net/minecraft/client/gui/screen/SplashScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
SplashScreen.LogoTexture
-
Field Summary
Fields Modifier and Type Field Description private long
applyCompleteTime
private static int
BRAND_ARGB
private static int
BRAND_RGB
private MinecraftClient
client
private Consumer<Optional<Throwable>>
exceptionHandler
private static Identifier
LOGO
private long
prepareCompleteTime
private float
progress
private boolean
reloading
private ResourceReloadMonitor
reloadMonitor
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description SplashScreen(MinecraftClient client, ResourceReloadMonitor monitor, Consumer<Optional<Throwable>> exceptionHandler, boolean reloading)
-
Method Summary
Modifier and Type Method Description static void
init(MinecraftClient client)
boolean
pausesGame()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
private void
renderProgressBar(MatrixStack matrices, int x1, int y1, int x2, int y2, float opacity)
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
-
Field Details
-
LOGO
- Mappings:
Namespace Name Mixin selector official a
Ldus;a:Lwb;
intermediary field_2483
Lnet/minecraft/class_425;field_2483:Lnet/minecraft/class_2960;
named LOGO
Lnet/minecraft/client/gui/screen/SplashScreen;LOGO:Lnet/minecraft/util/Identifier;
-
BRAND_ARGB
private static final int BRAND_ARGB- Mappings:
Namespace Name Mixin selector official b
Ldus;b:I
intermediary field_25041
Lnet/minecraft/class_425;field_25041:I
named BRAND_ARGB
Lnet/minecraft/client/gui/screen/SplashScreen;BRAND_ARGB:I
-
BRAND_RGB
private static final int BRAND_RGB- Mappings:
Namespace Name Mixin selector official c
Ldus;c:I
intermediary field_25042
Lnet/minecraft/class_425;field_25042:I
named BRAND_RGB
Lnet/minecraft/client/gui/screen/SplashScreen;BRAND_RGB:I
-
client
- Mappings:
Namespace Name Mixin selector official d
Ldus;d:Ldqk;
intermediary field_18217
Lnet/minecraft/class_425;field_18217:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/gui/screen/SplashScreen;client:Lnet/minecraft/client/MinecraftClient;
-
reloadMonitor
- Mappings:
Namespace Name Mixin selector official e
Ldus;e:Lacu;
intermediary field_17767
Lnet/minecraft/class_425;field_17767:Lnet/minecraft/class_4011;
named reloadMonitor
Lnet/minecraft/client/gui/screen/SplashScreen;reloadMonitor:Lnet/minecraft/resource/ResourceReloadMonitor;
-
exceptionHandler
- Mappings:
Namespace Name Mixin selector official i
Ldus;i:Ljava/util/function/Consumer;
intermediary field_18218
Lnet/minecraft/class_425;field_18218:Ljava/util/function/Consumer;
named exceptionHandler
Lnet/minecraft/client/gui/screen/SplashScreen;exceptionHandler:Ljava/util/function/Consumer;
-
reloading
private final boolean reloading- Mappings:
Namespace Name Mixin selector official j
Ldus;j:Z
intermediary field_18219
Lnet/minecraft/class_425;field_18219:Z
named reloading
Lnet/minecraft/client/gui/screen/SplashScreen;reloading:Z
-
progress
private float progress- Mappings:
Namespace Name Mixin selector official k
Ldus;k:F
intermediary field_17770
Lnet/minecraft/class_425;field_17770:F
named progress
Lnet/minecraft/client/gui/screen/SplashScreen;progress:F
-
applyCompleteTime
private long applyCompleteTime- Mappings:
Namespace Name Mixin selector official l
Ldus;l:J
intermediary field_17771
Lnet/minecraft/class_425;field_17771:J
named applyCompleteTime
Lnet/minecraft/client/gui/screen/SplashScreen;applyCompleteTime:J
-
prepareCompleteTime
private long prepareCompleteTime- Mappings:
Namespace Name Mixin selector official m
Ldus;m:J
intermediary field_18220
Lnet/minecraft/class_425;field_18220:J
named prepareCompleteTime
Lnet/minecraft/client/gui/screen/SplashScreen;prepareCompleteTime:J
-
-
Constructor Details
-
SplashScreen
public SplashScreen(MinecraftClient client, ResourceReloadMonitor monitor, Consumer<Optional<Throwable>> exceptionHandler, boolean reloading)- Mappings:
Namespace Name Mixin selector official <init>
Ldus;<init>(Ldqk;Lacu;Ljava/util/function/Consumer;Z)V
intermediary <init>
Lnet/minecraft/class_425;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_4011;Ljava/util/function/Consumer;Z)V
named <init>
Lnet/minecraft/client/gui/screen/SplashScreen;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/resource/ResourceReloadMonitor;Ljava/util/function/Consumer;Z)V
-
-
Method Details
-
init
- Mappings:
Namespace Name Mixin selector official a
Ldus;a(Ldqk;)V
intermediary method_18819
Lnet/minecraft/class_425;method_18819(Lnet/minecraft/class_310;)V
named init
Lnet/minecraft/client/gui/screen/SplashScreen;init(Lnet/minecraft/client/MinecraftClient;)V
-
render
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderProgressBar
private void renderProgressBar(MatrixStack matrices, int x1, int y1, int x2, int y2, float opacity)- Mappings:
Namespace Name Mixin selector official a
Ldus;a(Ldlr;IIIIF)V
intermediary method_18103
Lnet/minecraft/class_425;method_18103(Lnet/minecraft/class_4587;IIIIF)V
named renderProgressBar
Lnet/minecraft/client/gui/screen/SplashScreen;renderProgressBar(Lnet/minecraft/client/util/math/MatrixStack;IIIIF)V
-
pausesGame
public boolean pausesGame()- Overrides:
pausesGame
in classOverlay
- Mappings:
Namespace Name Mixin selector official a
Lduy;a()Z
intermediary method_18640
Lnet/minecraft/class_4071;method_18640()Z
named pausesGame
Lnet/minecraft/client/gui/screen/Overlay;pausesGame()Z
-