Package net.minecraft.client.gui.screen
Class DownloadingTerrainScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.DownloadingTerrainScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/DownloadingTerrainScreen
intermediary net/minecraft/class_434
official ftv
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final long
private static final long
private final BooleanSupplier
private static final Text
private final DownloadingTerrainScreen.WorldEntryReason
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionDownloadingTerrainScreen
(BooleanSupplier shouldClose, DownloadingTerrainScreen.WorldEntryReason worldEntryReason) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private Sprite
protected boolean
void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
renderBackground
(DrawContext context, int mouseX, int mouseY, float delta) Renders the background of this screen.boolean
Checks whether this screen should be closed when the escape key is pressed.boolean
void
tick()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldHideStatusEffectHud, switchFocus, updateNarrator
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, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TEXT
- Mappings:
Namespace Name Mixin selector named TEXT
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;TEXT:Lnet/minecraft/text/Text;
intermediary field_26544
Lnet/minecraft/class_434;field_26544:Lnet/minecraft/class_2561;
official a
Lftv;a:Lxv;
-
MIN_LOAD_TIME_MS
private static final long MIN_LOAD_TIME_MS- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_LOAD_TIME_MS
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;MIN_LOAD_TIME_MS:J
intermediary field_36365
Lnet/minecraft/class_434;field_36365:J
official b
Lftv;b:J
-
loadStartTime
private final long loadStartTime- Mappings:
Namespace Name Mixin selector named loadStartTime
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;loadStartTime:J
intermediary field_36368
Lnet/minecraft/class_434;field_36368:J
official c
Lftv;c:J
-
shouldClose
- Mappings:
Namespace Name Mixin selector named shouldClose
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;shouldClose:Ljava/util/function/BooleanSupplier;
intermediary field_46575
Lnet/minecraft/class_434;field_46575:Ljava/util/function/BooleanSupplier;
official d
Lftv;d:Ljava/util/function/BooleanSupplier;
-
worldEntryReason
- Mappings:
Namespace Name Mixin selector named worldEntryReason
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;worldEntryReason:Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen$WorldEntryReason;
intermediary field_51485
Lnet/minecraft/class_434;field_51485:Lnet/minecraft/class_434$class_9678;
official s
Lftv;s:Lftv$a;
-
backgroundSprite
- Mappings:
Namespace Name Mixin selector named backgroundSprite
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;backgroundSprite:Lnet/minecraft/client/texture/Sprite;
intermediary field_51486
Lnet/minecraft/class_434;field_51486:Lnet/minecraft/class_1058;
official u
Lftv;u:Lhbk;
-
-
Constructor Details
-
DownloadingTerrainScreen
public DownloadingTerrainScreen(BooleanSupplier shouldClose, DownloadingTerrainScreen.WorldEntryReason worldEntryReason) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;<init>(Ljava/util/function/BooleanSupplier;Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen$WorldEntryReason;)V
intermediary <init>
Lnet/minecraft/class_434;<init>(Ljava/util/function/BooleanSupplier;Lnet/minecraft/class_434$class_9678;)V
official <init>
Lftv;<init>(Ljava/util/function/BooleanSupplier;Lftv$a;)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 named shouldCloseOnEsc
Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
intermediary method_25422
Lnet/minecraft/class_437;method_25422()Z
official aH_
Lftx;aH_()Z
-
hasUsageText
protected boolean hasUsageText()- Overrides:
hasUsageText
in classScreen
- Mappings:
Namespace Name Mixin selector named hasUsageText
Lnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
intermediary method_48262
Lnet/minecraft/class_437;method_48262()Z
official aS_
Lftx;aS_()Z
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)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:
renderBackground
in classScreen
- Mappings:
Namespace Name Mixin selector named renderBackground
Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25420
Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)V
official b
Lftx;b(Lfnr;IIF)V
-
getBackgroundSprite
- Mappings:
Namespace Name Mixin selector named getBackgroundSprite
Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;getBackgroundSprite()Lnet/minecraft/client/texture/Sprite;
intermediary method_59838
Lnet/minecraft/class_434;method_59838()Lnet/minecraft/class_1058;
official l
Lftv;l()Lhbk;
-
tick
public void tick() -
close
public void close() -
shouldPause
public boolean shouldPause()- Overrides:
shouldPause
in classScreen
- Mappings:
Namespace Name Mixin selector named shouldPause
Lnet/minecraft/client/gui/screen/Screen;shouldPause()Z
intermediary method_25421
Lnet/minecraft/class_437;method_25421()Z
official j
Lftx;j()Z
-