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 official fczintermediary net/minecraft/class_434named net/minecraft/client/gui/screen/DownloadingTerrainScreen
-
Nested Class Summary
Nested 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 TextFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected booleanvoidrender(DrawContext context, int mouseX, int mouseY, float delta) voidrenderBackground(DrawContext context, int mouseX, int mouseY, float delta) 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
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, switchFocus, updateNarrator, wrapScreenErrorMethods 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
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TEXT
- Mappings:
Namespace Name Mixin selector official aLfcz;a:Lvf;intermediary field_26544Lnet/minecraft/class_434;field_26544:Lnet/minecraft/class_2561;named TEXTLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;TEXT:Lnet/minecraft/text/Text;
-
MIN_LOAD_TIME_MS
private static final long MIN_LOAD_TIME_MS- See Also:
- Mappings:
Namespace Name Mixin selector official bLfcz;b:Jintermediary field_36365Lnet/minecraft/class_434;field_36365:Jnamed MIN_LOAD_TIME_MSLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;MIN_LOAD_TIME_MS:J
-
loadStartTime
private final long loadStartTime- Mappings:
Namespace Name Mixin selector official cLfcz;c:Jintermediary field_36368Lnet/minecraft/class_434;field_36368:Jnamed loadStartTimeLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;loadStartTime:J
-
shouldClose
- Mappings:
Namespace Name Mixin selector official kLfcz;k:Ljava/util/function/BooleanSupplier;intermediary field_46575Lnet/minecraft/class_434;field_46575:Ljava/util/function/BooleanSupplier;named shouldCloseLnet/minecraft/client/gui/screen/DownloadingTerrainScreen;shouldClose:Ljava/util/function/BooleanSupplier;
-
-
Constructor Details
-
DownloadingTerrainScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfcz;<init>(Ljava/util/function/BooleanSupplier;)Vintermediary <init>Lnet/minecraft/class_434;<init>(Ljava/util/function/BooleanSupplier;)Vnamed <init>Lnet/minecraft/client/gui/screen/DownloadingTerrainScreen;<init>(Ljava/util/function/BooleanSupplier;)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 aL_Lfdb;aL_()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
hasUsageText
protected boolean hasUsageText()- Overrides:
hasUsageTextin classScreen- Mappings:
Namespace Name Mixin selector official aM_Lfdb;aM_()Zintermediary method_48262Lnet/minecraft/class_437;method_48262()Znamed hasUsageTextLnet/minecraft/client/gui/screen/Screen;hasUsageText()Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLeyj;a(Lewu;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;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 official bLfdb;b(Lewu;IIF)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_332;IIF)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
tick
public void tick() -
close
public void close() -
shouldPause
public boolean shouldPause()- Overrides:
shouldPausein classScreen- Mappings:
Namespace Name Mixin selector official kLfdb;k()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed shouldPauseLnet/minecraft/client/gui/screen/Screen;shouldPause()Z
-