Package net.minecraft.client.gui.screen
Class LevelLoadingScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.LevelLoadingScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name official etr
intermediary net/minecraft/class_3928
named net/minecraft/client/gui/screen/LevelLoadingScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private long
private static final long
private final WorldGenerationProgressTracker
private static final Object2IntMap<ChunkStatus>
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
static void
drawChunkMap
(DrawContext context, WorldGenerationProgressTracker progressProvider, int centerX, int centerY, int pixelSize, int pixelMargin) private String
protected boolean
void
removed()
void
render
(DrawContext context, int mouseX, int mouseY, float delta) boolean
Checks whether this screen should be closed when the escape key is pressed.Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, close, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackground, renderBackgroundTexture, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
NARRATION_DELAY
private static final long NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector official a
Letr;a:J
intermediary field_32246
Lnet/minecraft/class_3928;field_32246:J
named NARRATION_DELAY
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;NARRATION_DELAY:J
-
STATUS_TO_COLOR
- Mappings:
Namespace Name Mixin selector official k
Letr;k:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_17407
Lnet/minecraft/class_3928;field_17407:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named STATUS_TO_COLOR
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;STATUS_TO_COLOR:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
progressProvider
- Mappings:
Namespace Name Mixin selector official b
Letr;b:Lais;
intermediary field_17406
Lnet/minecraft/class_3928;field_17406:Lnet/minecraft/class_3953;
named progressProvider
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;progressProvider:Lnet/minecraft/client/gui/WorldGenerationProgressTracker;
-
lastNarrationTime
private long lastNarrationTime- Mappings:
Namespace Name Mixin selector official c
Letr;c:J
intermediary field_19101
Lnet/minecraft/class_3928;field_19101:J
named lastNarrationTime
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;lastNarrationTime:J
-
done
private boolean done- Mappings:
Namespace Name Mixin selector official j
Letr;j:Z
intermediary field_33810
Lnet/minecraft/class_3928;field_33810:Z
named done
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;done:Z
-
-
Constructor Details
-
LevelLoadingScreen
- Mappings:
Namespace Name Mixin selector official <init>
Letr;<init>(Lais;)V
intermediary <init>
Lnet/minecraft/class_3928;<init>(Lnet/minecraft/class_3953;)V
named <init>
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;<init>(Lnet/minecraft/client/gui/WorldGenerationProgressTracker;)V
-
-
Method Details
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.- Overrides:
shouldCloseOnEsc
in classScreen
- Mappings:
Namespace Name Mixin selector official av_
Leug;av_()Z
intermediary method_25422
Lnet/minecraft/class_437;method_25422()Z
named shouldCloseOnEsc
Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
hasUsageText
protected boolean hasUsageText()- Overrides:
hasUsageText
in classScreen
- Mappings:
Namespace Name Mixin selector official aH_
Leug;aH_()Z
intermediary method_48262
Lnet/minecraft/class_437;method_48262()Z
named hasUsageText
Lnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
-
removed
public void removed() -
addElementNarrations
- Overrides:
addElementNarrations
in classScreen
- Mappings:
Namespace Name Mixin selector official b
Leug;b(Lesg;)V
intermediary method_37056
Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)V
named addElementNarrations
Lnet/minecraft/client/gui/screen/Screen;addElementNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
getPercentage
- Mappings:
Namespace Name Mixin selector official l
Letr;l()Ljava/lang/String;
intermediary method_37057
Lnet/minecraft/class_3928;method_37057()Ljava/lang/String;
named getPercentage
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;getPercentage()Ljava/lang/String;
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Lepy;a(Leop;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
drawChunkMap
public static void drawChunkMap(DrawContext context, WorldGenerationProgressTracker progressProvider, int centerX, int centerY, int pixelSize, int pixelMargin) - Mappings:
Namespace Name Mixin selector official a
Letr;a(Leop;Lais;IIII)V
intermediary method_17538
Lnet/minecraft/class_3928;method_17538(Lnet/minecraft/class_332;Lnet/minecraft/class_3953;IIII)V
named drawChunkMap
Lnet/minecraft/client/gui/screen/LevelLoadingScreen;drawChunkMap(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/gui/WorldGenerationProgressTracker;IIII)V
-