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/DownloadingTerrainScreenintermediary net/minecraft/class_434official ger
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final longprivate static final longprivate final BooleanSupplierprivate static final Textprivate final DownloadingTerrainScreen.WorldEntryReasonFields 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, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionDownloadingTerrainScreen(BooleanSupplier shouldClose, DownloadingTerrainScreen.WorldEntryReason worldEntryReason) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private Spriteprotected booleanvoidrender(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, addElementNarrations, 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, 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, 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
-
TEXT
- Mappings:
Namespace Name Mixin selector named TEXTLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;TEXT:Lnet/minecraft/text/Text;intermediary field_26544Lnet/minecraft/class_434;field_26544:Lnet/minecraft/class_2561;official aLger;a:Lxo;
-
MIN_LOAD_TIME_MS
private static final long MIN_LOAD_TIME_MS- See Also:
- Mappings:
Namespace Name Mixin selector named MIN_LOAD_TIME_MSLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;MIN_LOAD_TIME_MS:Jintermediary field_36365Lnet/minecraft/class_434;field_36365:Jofficial bLger;b:J
-
loadStartTime
private final long loadStartTime- Mappings:
Namespace Name Mixin selector named loadStartTimeLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;loadStartTime:Jintermediary field_36368Lnet/minecraft/class_434;field_36368:Jofficial cLger;c:J
-
shouldClose
- Mappings:
Namespace Name Mixin selector named shouldCloseLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;shouldClose:Ljava/util/function/BooleanSupplier;intermediary field_46575Lnet/minecraft/class_434;field_46575:Ljava/util/function/BooleanSupplier;official dLger;d:Ljava/util/function/BooleanSupplier;
-
worldEntryReason
- Mappings:
Namespace Name Mixin selector named worldEntryReasonLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;worldEntryReason:Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen$WorldEntryReason;intermediary field_51485Lnet/minecraft/class_434;field_51485:Lnet/minecraft/class_434$class_9678;official eLger;e:Lger$a;
-
backgroundSprite
- Mappings:
Namespace Name Mixin selector named backgroundSpriteLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;backgroundSprite:Lnet/minecraft/client/texture/Sprite;intermediary field_51486Lnet/minecraft/class_434;field_51486:Lnet/minecraft/class_1058;official fLger;f:Lhrs;
-
-
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;)Vintermediary <init>Lnet/minecraft/class_434;<init>(Ljava/util/function/BooleanSupplier;Lnet/minecraft/class_434$class_9678;)Vofficial <init>Lger;<init>(Ljava/util/function/BooleanSupplier;Lger$a;)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 named shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Zofficial aG_Lget;aG_()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 aR_Lget;aR_()Z
-
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 aLfys;a(Lfxb;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:
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 bLget;b(Lfxb;IIF)V
-
getBackgroundSprite
- Mappings:
Namespace Name Mixin selector named getBackgroundSpriteLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;getBackgroundSprite()Lnet/minecraft/client/texture/Sprite;intermediary method_59838Lnet/minecraft/class_434;method_59838()Lnet/minecraft/class_1058;official lLger;l()Lhrs;
-
tick
public void tick() -
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 aQ_Lget;aQ_()Z
-