Class RecoverWorldScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.RecoverWorldScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/RecoverWorldScreenintermediary net/minecraft/class_8897official ful
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate final BooleanConsumerprivate static final Textprivate static final Textprivate static final Textprivate final MultilineTextWidgetprivate static final intprivate static final Textprivate final DirectionalLayoutWidgetprivate static final Loggerprivate final Textprivate final MultilineTextWidgetprivate static final Textprivate static final Textprivate static final Textprivate final LevelStorage.Sessionprivate static final TextFields 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, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionRecoverWorldScreen(MinecraftClient client, BooleanConsumer callback, LevelStorage.Session session) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getLoadingException(LevelStorage.Session session, boolean old) protected voidinit()Called when a screen should be initialized.protected voidprivate TexttoText(LevelStorage.Session session, boolean old, @Nullable Exception exception) private voidtryRestore(MinecraftClient client) 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, findSelectedElementData, getMusic, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, 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
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_46862Lnet/minecraft/class_8897;field_46862:Lorg/slf4j/Logger;official aLful;a:Lorg/slf4j/Logger;
-
field_46863
private static final int field_46863- See Also:
- Mappings:
Namespace Name Mixin selector named field_46863Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;field_46863:Iintermediary field_46863Lnet/minecraft/class_8897;field_46863:Iofficial bLful;b:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_46864Lnet/minecraft/class_8897;field_46864:Lnet/minecraft/class_2561;official cLful;c:Lwp;
-
BUG_TRACKER_TEXT
- Mappings:
Namespace Name Mixin selector named BUG_TRACKER_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;BUG_TRACKER_TEXT:Lnet/minecraft/text/Text;intermediary field_46865Lnet/minecraft/class_8897;field_46865:Lnet/minecraft/class_2561;official dLful;d:Lwp;
-
RESTORE_TEXT
- Mappings:
Namespace Name Mixin selector named RESTORE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;RESTORE_TEXT:Lnet/minecraft/text/Text;intermediary field_46866Lnet/minecraft/class_8897;field_46866:Lnet/minecraft/class_2561;official sLful;s:Lwp;
-
NO_FALLBACK_TEXT
- Mappings:
Namespace Name Mixin selector named NO_FALLBACK_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;NO_FALLBACK_TEXT:Lnet/minecraft/text/Text;intermediary field_46867Lnet/minecraft/class_8897;field_46867:Lnet/minecraft/class_2561;official uLful;u:Lwp;
-
DONE_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named DONE_TITLE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_TITLE_TEXT:Lnet/minecraft/text/Text;intermediary field_46868Lnet/minecraft/class_8897;field_46868:Lnet/minecraft/class_2561;official vLful;v:Lwp;
-
DONE_SUCCESS_TEXT
- Mappings:
Namespace Name Mixin selector named DONE_SUCCESS_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_SUCCESS_TEXT:Lnet/minecraft/text/Text;intermediary field_46869Lnet/minecraft/class_8897;field_46869:Lnet/minecraft/class_2561;official wLful;w:Lwp;
-
DONE_FAILED_TEXT
- Mappings:
Namespace Name Mixin selector named DONE_FAILED_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_FAILED_TEXT:Lnet/minecraft/text/Text;intermediary field_46870Lnet/minecraft/class_8897;field_46870:Lnet/minecraft/class_2561;official xLful;x:Lwp;
-
ISSUE_NONE_TEXT
- Mappings:
Namespace Name Mixin selector named ISSUE_NONE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;ISSUE_NONE_TEXT:Lnet/minecraft/text/Text;intermediary field_46871Lnet/minecraft/class_8897;field_46871:Lnet/minecraft/class_2561;official yLful;y:Lwp;
-
MISSING_FILE_TEXT
- Mappings:
Namespace Name Mixin selector named MISSING_FILE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;MISSING_FILE_TEXT:Lnet/minecraft/text/Text;intermediary field_46872Lnet/minecraft/class_8897;field_46872:Lnet/minecraft/class_2561;official zLful;z:Lwp;
-
callback
- Mappings:
Namespace Name Mixin selector named callbackLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_46873Lnet/minecraft/class_8897;field_46873:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;official ALful;A:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
layout
- Mappings:
Namespace Name Mixin selector named layoutLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;intermediary field_46874Lnet/minecraft/class_8897;field_46874:Lnet/minecraft/class_8667;official BLful;B:Lfsm;
-
message
- Mappings:
Namespace Name Mixin selector named messageLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;message:Lnet/minecraft/text/Text;intermediary field_46875Lnet/minecraft/class_8897;field_46875:Lnet/minecraft/class_2561;official CLful;C:Lwp;
-
messageWidget
- Mappings:
Namespace Name Mixin selector named messageWidgetLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;messageWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;intermediary field_46876Lnet/minecraft/class_8897;field_46876:Lnet/minecraft/class_7940;official DLful;D:Lfpo;
-
exceptionWidget
- Mappings:
Namespace Name Mixin selector named exceptionWidgetLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;exceptionWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;intermediary field_46877Lnet/minecraft/class_8897;field_46877:Lnet/minecraft/class_7940;official ELful;E:Lfpo;
-
session
- Mappings:
Namespace Name Mixin selector named sessionLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;intermediary field_46878Lnet/minecraft/class_8897;field_46878:Lnet/minecraft/class_32$class_5143;official FLful;F:Levg$c;
-
-
Constructor Details
-
RecoverWorldScreen
public RecoverWorldScreen(MinecraftClient client, BooleanConsumer callback, LevelStorage.Session session) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;<init>(Lnet/minecraft/client/MinecraftClient;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/world/level/storage/LevelStorage$Session;)Vintermediary <init>Lnet/minecraft/class_8897;<init>(Lnet/minecraft/class_310;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)Vofficial <init>Lful;<init>(Lflk;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Levg$c;)V
-
-
Method Details
-
tryRestore
- Mappings:
Namespace Name Mixin selector named tryRestoreLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;tryRestore(Lnet/minecraft/client/MinecraftClient;)Vintermediary method_54585Lnet/minecraft/class_8897;method_54585(Lnet/minecraft/class_310;)Vofficial aLful;a(Lflk;)V
-
toText
private Text toText(LevelStorage.Session session, boolean old, @Nullable @Nullable Exception exception) - Mappings:
Namespace Name Mixin selector named toTextLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;toText(Lnet/minecraft/world/level/storage/LevelStorage$Session;ZLjava/lang/Exception;)Lnet/minecraft/text/Text;intermediary method_54584Lnet/minecraft/class_8897;method_54584(Lnet/minecraft/class_32$class_5143;ZLjava/lang/Exception;)Lnet/minecraft/class_2561;official aLful;a(Levg$c;ZLjava/lang/Exception;)Lwp;
-
getLoadingException
@Nullable private @Nullable Exception getLoadingException(LevelStorage.Session session, boolean old) - Mappings:
Namespace Name Mixin selector named getLoadingExceptionLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;getLoadingException(Lnet/minecraft/world/level/storage/LevelStorage$Session;Z)Ljava/lang/Exception;intermediary method_54583Lnet/minecraft/class_8897;method_54583(Lnet/minecraft/class_32$class_5143;Z)Ljava/lang/Exception;official aLful;a(Levg$c;Z)Ljava/lang/Exception;
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositionsin classScreen- Mappings:
Namespace Name Mixin selector named refreshWidgetPositionsLnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()Vintermediary method_48640Lnet/minecraft/class_437;method_48640()Vofficial cLfum;c()V
-
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;official iLfum;i()Lwp;
-
close
public void close()
-