Package net.minecraft.client.gui.screen
Class LevelLoadingScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.LevelLoadingScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement
- Mappings:
Namespace Name official eplintermediary net/minecraft/class_3928named 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
FieldsModifier and TypeFieldDescriptionprivate booleanprivate longprivate static final longprivate final WorldGenerationProgressTrackerprivate static final Object2IntMap<ChunkStatus>Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstatic voiddrawChunkMap(MatrixStack matrices, WorldGenerationProgressTracker progressProvider, int centerX, int centerY, int pixelSize, int pixelMargin) private Stringprotected booleanvoidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) booleanChecks 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, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, method_48202, method_48263, method_48265, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderWithTooltip, resize, setTooltip, setTooltip, setTooltip, setTooltip, shouldPause, tick, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48196, setZOffsetMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, hoveredElement, isFocused, keyReleased, method_48205, method_48218, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
NARRATION_DELAY
private static final long NARRATION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector official aLepl;a:Jintermediary field_32246Lnet/minecraft/class_3928;field_32246:Jnamed NARRATION_DELAYLnet/minecraft/client/gui/screen/LevelLoadingScreen;NARRATION_DELAY:J
-
STATUS_TO_COLOR
- Mappings:
Namespace Name Mixin selector official oLepl;o:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_17407Lnet/minecraft/class_3928;field_17407:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named STATUS_TO_COLORLnet/minecraft/client/gui/screen/LevelLoadingScreen;STATUS_TO_COLOR:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
progressProvider
- Mappings:
Namespace Name Mixin selector official bLepl;b:Laij;intermediary field_17406Lnet/minecraft/class_3928;field_17406:Lnet/minecraft/class_3953;named progressProviderLnet/minecraft/client/gui/screen/LevelLoadingScreen;progressProvider:Lnet/minecraft/client/gui/WorldGenerationProgressTracker;
-
lastNarrationTime
private long lastNarrationTime- Mappings:
Namespace Name Mixin selector official cLepl;c:Jintermediary field_19101Lnet/minecraft/class_3928;field_19101:Jnamed lastNarrationTimeLnet/minecraft/client/gui/screen/LevelLoadingScreen;lastNarrationTime:J
-
done
private boolean done- Mappings:
Namespace Name Mixin selector official nLepl;n:Zintermediary field_33810Lnet/minecraft/class_3928;field_33810:Znamed doneLnet/minecraft/client/gui/screen/LevelLoadingScreen;done:Z
-
-
Constructor Details
-
LevelLoadingScreen
- Mappings:
Namespace Name Mixin selector official <init>Lepl;<init>(Laij;)Vintermediary <init>Lnet/minecraft/class_3928;<init>(Lnet/minecraft/class_3953;)Vnamed <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:
shouldCloseOnEscin classScreen- Mappings:
Namespace Name Mixin selector official ai_Leqa;ai_()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
method_48262
protected boolean method_48262()- Overrides:
method_48262in classScreen- Mappings:
Namespace Name Mixin selector official am_Leqa;am_()Zintermediary method_48262Lnet/minecraft/class_437;method_48262()Znamed method_48262Lnet/minecraft/client/gui/screen/Screen;method_48262()Z
-
removed
public void removed() -
addElementNarrations
- Overrides:
addElementNarrationsin classScreen- Mappings:
Namespace Name Mixin selector official bLeqa;b(Leoc;)Vintermediary method_37056Lnet/minecraft/class_437;method_37056(Lnet/minecraft/class_6382;)Vnamed addElementNarrationsLnet/minecraft/client/gui/screen/Screen;addElementNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
getPercentage
- Mappings:
Namespace Name Mixin selector official jLepl;j()Ljava/lang/String;intermediary method_37057Lnet/minecraft/class_3928;method_37057()Ljava/lang/String;named getPercentageLnet/minecraft/client/gui/screen/LevelLoadingScreen;getPercentage()Ljava/lang/String;
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLemj;a(Leer;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
-
drawChunkMap
public static void drawChunkMap(MatrixStack matrices, WorldGenerationProgressTracker progressProvider, int centerX, int centerY, int pixelSize, int pixelMargin) - Mappings:
Namespace Name Mixin selector official aLepl;a(Leer;Laij;IIII)Vintermediary method_17538Lnet/minecraft/class_3928;method_17538(Lnet/minecraft/class_4587;Lnet/minecraft/class_3953;IIII)Vnamed drawChunkMapLnet/minecraft/client/gui/screen/LevelLoadingScreen;drawChunkMap(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/gui/WorldGenerationProgressTracker;IIII)V
-