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 foc
-
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
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, 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, 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 aLfoc;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 bLfoc;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 cLfoc;c:Lwz;
-
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 rLfoc;r:Lwz;
-
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 sLfoc;s:Lwz;
-
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 uLfoc;u:Lwz;
-
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 vLfoc;v:Lwz;
-
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 wLfoc;w:Lwz;
-
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 xLfoc;x:Lwz;
-
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 yLfoc;y:Lwz;
-
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 zLfoc;z:Lwz;
-
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 ALfoc;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 BLfoc;B:Lfmd;
-
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 CLfoc;C:Lwz;
-
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 DLfoc;D:Lfjg;
-
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 ELfoc;E:Lfjg;
-
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 FLfoc;F:Lerf$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>Lfoc;<init>(Lfgo;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lerf$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 aLfoc;a(Lfgo;)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 aLfoc;a(Lerf$c;ZLjava/lang/Exception;)Lwz;
-
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 aLfoc;a(Lerf$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.
This should call
Screen.setInitialFocus()to set the element that is initially focused. -
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 iLfod;i()Lwz;
-
close
public void close()
-