Class LevelLoadingScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.LevelLoadingScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/LevelLoadingScreenintermediary net/minecraft/class_3928official ghi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ClientChunkLoadProgressprivate static final Textprivate static final intprivate longprivate floatprivate static final longprivate static final Textprivate static final Object2IntMap<ChunkStatus> Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
ConstructorsConstructorDescriptionLevelLoadingScreen(ClientChunkLoadProgress progressProvider, LevelLoadingScreen.WorldEntryReason reason) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidclose()static voiddrawChunkMap(DrawContext context, int centerX, int centerY, int chunkLength, int chunkGap, ChunkLoadMap map) private voiddrawLoadingBar(DrawContext context, int x1, int y1, int width, int height, float delta) private Spriteprotected booleanvoidinit(ClientChunkLoadProgress chunkLoadProgress, LevelLoadingScreen.WorldEntryReason reason) voidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float deltaTicks) Renders the background of this screen.booleanChecks whether this screen should be closed when the escape key is pressed.booleanvoidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, method_72798, method_73150, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, showsStatusEffects, switchFocus, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, method_72784, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
DOWNLOADING_TERRAIN_TEXT
- Mappings:
Namespace Name Mixin selector named DOWNLOADING_TERRAIN_TEXTLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;DOWNLOADING_TERRAIN_TEXT:Lnet/minecraft/text/Text;intermediary field_61628Lnet/minecraft/class_3928;field_61628:Lnet/minecraft/class_2561;official aLghi;a:Lxt;
-
READY_TO_PLAY_MESSAGE
- Mappings:
Namespace Name Mixin selector named READY_TO_PLAY_MESSAGELnet/minecraft/client/gui/screen/world/LevelLoadingScreen;READY_TO_PLAY_MESSAGE:Lnet/minecraft/text/Text;intermediary field_61629Lnet/minecraft/class_3928;field_61629:Lnet/minecraft/class_2561;official bLghi;b:Lxt;
-
NARRATION_DELAY
private static final long NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named NARRATION_DELAYLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;NARRATION_DELAY:Jintermediary field_32246Lnet/minecraft/class_3928;field_32246:Jofficial cLghi;c:J
-
field_61630
private static final int field_61630- See Also:
- Mappings:
Namespace Name Mixin selector named field_61630Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;field_61630:Iintermediary field_61630Lnet/minecraft/class_3928;field_61630:Iofficial dLghi;d:I
-
STATUS_TO_COLOR
- Mappings:
Namespace Name Mixin selector named STATUS_TO_COLORLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;STATUS_TO_COLOR:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_17407Lnet/minecraft/class_3928;field_17407:Lit/unimi/dsi/fastutil/objects/Object2IntMap;official wLghi;w:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
chunkLoadProgress
- Mappings:
Namespace Name Mixin selector named chunkLoadProgressLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;chunkLoadProgress:Lnet/minecraft/client/world/ClientChunkLoadProgress;intermediary field_61631Lnet/minecraft/class_3928;field_61631:Lnet/minecraft/class_11653;official eLghi;e:Lguu;
-
loadProgress
private float loadProgress- Mappings:
Namespace Name Mixin selector named loadProgressLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;loadProgress:Fintermediary field_61632Lnet/minecraft/class_3928;field_61632:Fofficial fLghi;f:F
-
lastNarrationTime
private long lastNarrationTime- Mappings:
Namespace Name Mixin selector named lastNarrationTimeLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;lastNarrationTime:Jintermediary field_19101Lnet/minecraft/class_3928;field_19101:Jofficial tLghi;t:J
-
reason
- Mappings:
Namespace Name Mixin selector named reasonLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;reason:Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen$WorldEntryReason;intermediary field_61633Lnet/minecraft/class_3928;field_61633:Lnet/minecraft/class_3928$class_9678;official uLghi;u:Lghi$a;
-
netherPortalSprite
- Mappings:
Namespace Name Mixin selector named netherPortalSpriteLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;netherPortalSprite:Lnet/minecraft/client/texture/Sprite;intermediary field_61634Lnet/minecraft/class_3928;field_61634:Lnet/minecraft/class_1058;official vLghi;v:Lhvo;
-
-
Constructor Details
-
LevelLoadingScreen
public LevelLoadingScreen(ClientChunkLoadProgress progressProvider, LevelLoadingScreen.WorldEntryReason reason) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen;<init>(Lnet/minecraft/client/world/ClientChunkLoadProgress;Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen$WorldEntryReason;)Vintermediary <init>Lnet/minecraft/class_3928;<init>(Lnet/minecraft/class_11653;Lnet/minecraft/class_3928$class_9678;)Vofficial <init>Lghi;<init>(Lguu;Lghi$a;)V
-
-
Method Details
-
init
public void init(ClientChunkLoadProgress chunkLoadProgress, LevelLoadingScreen.WorldEntryReason reason) - Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;init(Lnet/minecraft/client/world/ClientChunkLoadProgress;Lnet/minecraft/client/gui/screen/world/LevelLoadingScreen$WorldEntryReason;)Vintermediary method_72800Lnet/minecraft/class_3928;method_72800(Lnet/minecraft/class_11653;Lnet/minecraft/class_3928$class_9678;)Vofficial aLghi;a(Lguu;Lghi$a;)V
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEscin classScreen- Mappings:
Namespace Name Mixin selector named shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial aT_Lght;aT_()Z
-
hasUsageText
protected boolean hasUsageText()- Overrides:
hasUsageTextin classScreen- Mappings:
Namespace Name Mixin selector named hasUsageTextLnet/minecraft/client/gui/screen/Screen;hasUsageText()Zintermediary method_48262Lnet/minecraft/class_437;method_48262()Zofficial aW_Lght;aW_()Z
-
addElementNarrations
- Overrides:
addElementNarrationsin classScreen- Mappings:
Namespace Name Mixin selector named addElementNarrationsLnet/minecraft/client/gui/screen/Screen;addElementNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_37056Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)Vofficial bLght;b(Lgeu;)V
-
tick
public void tick() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLgaj;a(Lfyt;IIF)V
-
drawLoadingBar
private void drawLoadingBar(DrawContext context, int x1, int y1, int width, int height, float delta) - Mappings:
Namespace Name Mixin selector named drawLoadingBarLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;drawLoadingBar(Lnet/minecraft/client/gui/DrawContext;IIIIF)Vintermediary method_72799Lnet/minecraft/class_3928;method_72799(Lnet/minecraft/class_332;IIIIF)Vofficial aLghi;a(Lfyt;IIIIF)V
-
drawChunkMap
public static void drawChunkMap(DrawContext context, int centerX, int centerY, int chunkLength, int chunkGap, ChunkLoadMap map) - Mappings:
Namespace Name Mixin selector named drawChunkMapLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;drawChunkMap(Lnet/minecraft/client/gui/DrawContext;IIIILnet/minecraft/world/chunk/ChunkLoadMap;)Vintermediary method_17538Lnet/minecraft/class_3928;method_17538(Lnet/minecraft/class_332;IIIILnet/minecraft/class_11544;)Vofficial aLghi;a(Lfyt;IIIILaut;)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Overrides:
renderBackgroundin classScreen- Mappings:
Namespace Name Mixin selector named renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vofficial bLght;b(Lfyt;IIF)V
-
getNetherPortalSprite
- Mappings:
Namespace Name Mixin selector named getNetherPortalSpriteLnet/minecraft/client/gui/screen/world/LevelLoadingScreen;getNetherPortalSprite()Lnet/minecraft/client/texture/Sprite;intermediary method_72801Lnet/minecraft/class_3928;method_72801()Lnet/minecraft/class_1058;official nLghi;n()Lhvo;
-
close
public void close() -
shouldPause
public boolean shouldPause()- Overrides:
shouldPausein classScreen- Mappings:
Namespace Name Mixin selector named shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Zofficial aV_Lght;aV_()Z
-