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 dwxintermediary net/minecraft/class_425named net/minecraft/client/gui/screen/SplashScreen
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classSplashScreen.LogoTexture -
Field Summary
Fields Modifier and Type Field Description private static intBRAND_ARGBprivate static intBRAND_RGBprivate MinecraftClientclientprivate Consumer<Optional<Throwable>>exceptionHandlerprivate static IdentifierLOGOprivate floatprogressprivate ResourceReloadreloadprivate longreloadCompleteTimeprivate booleanreloadingprivate longreloadStartTimeFields 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, ResourceReload monitor, Consumer<Optional<Throwable>> exceptionHandler, boolean reloading) -
Method Summary
Modifier and Type Method Description static voidinit(MinecraftClient client)booleanpausesGame()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)private voidrenderProgressBar(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 aLdwx;a:Lwl;intermediary field_2483Lnet/minecraft/class_425;field_2483:Lnet/minecraft/class_2960;named LOGOLnet/minecraft/client/gui/screen/SplashScreen;LOGO:Lnet/minecraft/util/Identifier;
-
BRAND_ARGB
private static final int BRAND_ARGB- Mappings:
Namespace Name Mixin selector official bLdwx;b:Iintermediary field_25041Lnet/minecraft/class_425;field_25041:Inamed BRAND_ARGBLnet/minecraft/client/gui/screen/SplashScreen;BRAND_ARGB:I
-
BRAND_RGB
private static final int BRAND_RGB- Mappings:
Namespace Name Mixin selector official cLdwx;c:Iintermediary field_25042Lnet/minecraft/class_425;field_25042:Inamed BRAND_RGBLnet/minecraft/client/gui/screen/SplashScreen;BRAND_RGB:I
-
client
- Mappings:
Namespace Name Mixin selector official dLdwx;d:Ldsp;intermediary field_18217Lnet/minecraft/class_425;field_18217:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/SplashScreen;client:Lnet/minecraft/client/MinecraftClient;
-
reload
- Mappings:
Namespace Name Mixin selector official eLdwx;e:Lade;intermediary field_17767Lnet/minecraft/class_425;field_17767:Lnet/minecraft/class_4011;named reloadLnet/minecraft/client/gui/screen/SplashScreen;reload:Lnet/minecraft/resource/ResourceReload;
-
exceptionHandler
- Mappings:
Namespace Name Mixin selector official iLdwx;i:Ljava/util/function/Consumer;intermediary field_18218Lnet/minecraft/class_425;field_18218:Ljava/util/function/Consumer;named exceptionHandlerLnet/minecraft/client/gui/screen/SplashScreen;exceptionHandler:Ljava/util/function/Consumer;
-
reloading
private final boolean reloading- Mappings:
Namespace Name Mixin selector official jLdwx;j:Zintermediary field_18219Lnet/minecraft/class_425;field_18219:Znamed reloadingLnet/minecraft/client/gui/screen/SplashScreen;reloading:Z
-
progress
private float progress- Mappings:
Namespace Name Mixin selector official kLdwx;k:Fintermediary field_17770Lnet/minecraft/class_425;field_17770:Fnamed progressLnet/minecraft/client/gui/screen/SplashScreen;progress:F
-
reloadCompleteTime
private long reloadCompleteTime- Mappings:
Namespace Name Mixin selector official lLdwx;l:Jintermediary field_17771Lnet/minecraft/class_425;field_17771:Jnamed reloadCompleteTimeLnet/minecraft/client/gui/screen/SplashScreen;reloadCompleteTime:J
-
reloadStartTime
private long reloadStartTime- Mappings:
Namespace Name Mixin selector official mLdwx;m:Jintermediary field_18220Lnet/minecraft/class_425;field_18220:Jnamed reloadStartTimeLnet/minecraft/client/gui/screen/SplashScreen;reloadStartTime:J
-
-
Constructor Details
-
SplashScreen
public SplashScreen(MinecraftClient client, ResourceReload monitor, Consumer<Optional<Throwable>> exceptionHandler, boolean reloading)- Mappings:
Namespace Name Mixin selector official <init>Ldwx;<init>(Ldsp;Lade;Ljava/util/function/Consumer;Z)Vintermediary <init>Lnet/minecraft/class_425;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_4011;Ljava/util/function/Consumer;Z)Vnamed <init>Lnet/minecraft/client/gui/screen/SplashScreen;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/resource/ResourceReload;Ljava/util/function/Consumer;Z)V
-
-
Method Details
-
init
- Mappings:
Namespace Name Mixin selector official aLdwx;a(Ldsp;)Vintermediary method_18819Lnet/minecraft/class_425;method_18819(Lnet/minecraft/class_310;)Vnamed initLnet/minecraft/client/gui/screen/SplashScreen;init(Lnet/minecraft/client/MinecraftClient;)V
-
render
- Mappings:
Namespace Name Mixin selector official aLduv;a(Ldnw;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/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 aLdwx;a(Ldnw;IIIIF)Vintermediary method_18103Lnet/minecraft/class_425;method_18103(Lnet/minecraft/class_4587;IIIIF)Vnamed renderProgressBarLnet/minecraft/client/gui/screen/SplashScreen;renderProgressBar(Lnet/minecraft/client/util/math/MatrixStack;IIIIF)V
-
pausesGame
public boolean pausesGame()- Overrides:
pausesGamein classOverlay- Mappings:
Namespace Name Mixin selector official aLdxd;a()Zintermediary method_18640Lnet/minecraft/class_4071;method_18640()Znamed pausesGameLnet/minecraft/client/gui/screen/Overlay;pausesGame()Z
-