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 dwmintermediary 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 longapplyCompleteTimeprivate static intBRAND_ARGBprivate static intBRAND_RGBprivate MinecraftClientclientprivate Consumer<Optional<Throwable>>exceptionHandlerprivate static IdentifierLOGOprivate longprepareCompleteTimeprivate floatprogressprivate booleanreloadingprivate ResourceReloadMonitorreloadMonitorFields 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 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 aLdwm;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 bLdwm;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 cLdwm;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 dLdwm;d:Ldse;intermediary field_18217Lnet/minecraft/class_425;field_18217:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/SplashScreen;client:Lnet/minecraft/client/MinecraftClient;
-
reloadMonitor
- Mappings:
Namespace Name Mixin selector official eLdwm;e:Lade;intermediary field_17767Lnet/minecraft/class_425;field_17767:Lnet/minecraft/class_4011;named reloadMonitorLnet/minecraft/client/gui/screen/SplashScreen;reloadMonitor:Lnet/minecraft/resource/ResourceReloadMonitor;
-
exceptionHandler
- Mappings:
Namespace Name Mixin selector official iLdwm;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 jLdwm;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 kLdwm;k:Fintermediary field_17770Lnet/minecraft/class_425;field_17770:Fnamed progressLnet/minecraft/client/gui/screen/SplashScreen;progress:F
-
applyCompleteTime
private long applyCompleteTime- Mappings:
Namespace Name Mixin selector official lLdwm;l:Jintermediary field_17771Lnet/minecraft/class_425;field_17771:Jnamed applyCompleteTimeLnet/minecraft/client/gui/screen/SplashScreen;applyCompleteTime:J
-
prepareCompleteTime
private long prepareCompleteTime- Mappings:
Namespace Name Mixin selector official mLdwm;m:Jintermediary field_18220Lnet/minecraft/class_425;field_18220:Jnamed prepareCompleteTimeLnet/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>Ldwm;<init>(Ldse;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/ResourceReloadMonitor;Ljava/util/function/Consumer;Z)V
-
-
Method Details
-
init
- Mappings:
Namespace Name Mixin selector official aLdwm;a(Ldse;)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 aLduk;a(Ldnl;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 aLdwm;a(Ldnl;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 aLdws;a()Zintermediary method_18640Lnet/minecraft/class_4071;method_18640()Znamed pausesGameLnet/minecraft/client/gui/screen/Overlay;pausesGame()Z
-