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 official fdaintermediary net/minecraft/class_8897named net/minecraft/client/gui/screen/world/RecoverWorldScreen
-
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, height, OPTIONS_BACKGROUND_TEXTURE, 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, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, render, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, resize, 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, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLfda;a:Lorg/slf4j/Logger;intermediary field_46862Lnet/minecraft/class_8897;field_46862:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;LOGGER:Lorg/slf4j/Logger;
-
field_46863
private static final int field_46863- See Also:
- Mappings:
Namespace Name Mixin selector official bLfda;b:Iintermediary field_46863Lnet/minecraft/class_8897;field_46863:Inamed field_46863Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;field_46863:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official cLfda;c:Lvf;intermediary field_46864Lnet/minecraft/class_8897;field_46864:Lnet/minecraft/class_2561;named TITLE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
-
BUG_TRACKER_TEXT
- Mappings:
Namespace Name Mixin selector official kLfda;k:Lvf;intermediary field_46865Lnet/minecraft/class_8897;field_46865:Lnet/minecraft/class_2561;named BUG_TRACKER_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;BUG_TRACKER_TEXT:Lnet/minecraft/text/Text;
-
RESTORE_TEXT
- Mappings:
Namespace Name Mixin selector official lLfda;l:Lvf;intermediary field_46866Lnet/minecraft/class_8897;field_46866:Lnet/minecraft/class_2561;named RESTORE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;RESTORE_TEXT:Lnet/minecraft/text/Text;
-
NO_FALLBACK_TEXT
- Mappings:
Namespace Name Mixin selector official mLfda;m:Lvf;intermediary field_46867Lnet/minecraft/class_8897;field_46867:Lnet/minecraft/class_2561;named NO_FALLBACK_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;NO_FALLBACK_TEXT:Lnet/minecraft/text/Text;
-
DONE_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official nLfda;n:Lvf;intermediary field_46868Lnet/minecraft/class_8897;field_46868:Lnet/minecraft/class_2561;named DONE_TITLE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_TITLE_TEXT:Lnet/minecraft/text/Text;
-
DONE_SUCCESS_TEXT
- Mappings:
Namespace Name Mixin selector official oLfda;o:Lvf;intermediary field_46869Lnet/minecraft/class_8897;field_46869:Lnet/minecraft/class_2561;named DONE_SUCCESS_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_SUCCESS_TEXT:Lnet/minecraft/text/Text;
-
DONE_FAILED_TEXT
- Mappings:
Namespace Name Mixin selector official pLfda;p:Lvf;intermediary field_46870Lnet/minecraft/class_8897;field_46870:Lnet/minecraft/class_2561;named DONE_FAILED_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_FAILED_TEXT:Lnet/minecraft/text/Text;
-
ISSUE_NONE_TEXT
- Mappings:
Namespace Name Mixin selector official qLfda;q:Lvf;intermediary field_46871Lnet/minecraft/class_8897;field_46871:Lnet/minecraft/class_2561;named ISSUE_NONE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;ISSUE_NONE_TEXT:Lnet/minecraft/text/Text;
-
MISSING_FILE_TEXT
- Mappings:
Namespace Name Mixin selector official rLfda;r:Lvf;intermediary field_46872Lnet/minecraft/class_8897;field_46872:Lnet/minecraft/class_2561;named MISSING_FILE_TEXTLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;MISSING_FILE_TEXT:Lnet/minecraft/text/Text;
-
callback
- Mappings:
Namespace Name Mixin selector official tLfda;t:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_46873Lnet/minecraft/class_8897;field_46873:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named callbackLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
layout
- Mappings:
Namespace Name Mixin selector official uLfda;u:Lfau;intermediary field_46874Lnet/minecraft/class_8897;field_46874:Lnet/minecraft/class_8667;named layoutLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
message
- Mappings:
Namespace Name Mixin selector official vLfda;v:Lvf;intermediary field_46875Lnet/minecraft/class_8897;field_46875:Lnet/minecraft/class_2561;named messageLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;message:Lnet/minecraft/text/Text;
-
messageWidget
- Mappings:
Namespace Name Mixin selector official wLfda;w:Leya;intermediary field_46876Lnet/minecraft/class_8897;field_46876:Lnet/minecraft/class_7940;named messageWidgetLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;messageWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
exceptionWidget
- Mappings:
Namespace Name Mixin selector official xLfda;x:Leya;intermediary field_46877Lnet/minecraft/class_8897;field_46877:Lnet/minecraft/class_7940;named exceptionWidgetLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;exceptionWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
session
- Mappings:
Namespace Name Mixin selector official yLfda;y:Legm$c;intermediary field_46878Lnet/minecraft/class_8897;field_46878:Lnet/minecraft/class_32$class_5143;named sessionLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;session:Lnet/minecraft/world/level/storage/LevelStorage$Session;
-
-
Constructor Details
-
RecoverWorldScreen
public RecoverWorldScreen(MinecraftClient client, BooleanConsumer callback, LevelStorage.Session session) - Mappings:
Namespace Name Mixin selector official <init>Lfda;<init>(Levi;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Legm$c;)Vintermediary <init>Lnet/minecraft/class_8897;<init>(Lnet/minecraft/class_310;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)Vnamed <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;)V
-
-
Method Details
-
tryRestore
- Mappings:
Namespace Name Mixin selector official aLfda;a(Levi;)Vintermediary method_54585Lnet/minecraft/class_8897;method_54585(Lnet/minecraft/class_310;)Vnamed tryRestoreLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;tryRestore(Lnet/minecraft/client/MinecraftClient;)V
-
toText
private Text toText(LevelStorage.Session session, boolean old, @Nullable @Nullable Exception exception) - Mappings:
Namespace Name Mixin selector official aLfda;a(Legm$c;ZLjava/lang/Exception;)Lvf;intermediary method_54584Lnet/minecraft/class_8897;method_54584(Lnet/minecraft/class_32$class_5143;ZLjava/lang/Exception;)Lnet/minecraft/class_2561;named toTextLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;toText(Lnet/minecraft/world/level/storage/LevelStorage$Session;ZLjava/lang/Exception;)Lnet/minecraft/text/Text;
-
getLoadingException
@Nullable private @Nullable Exception getLoadingException(LevelStorage.Session session, boolean old) - Mappings:
Namespace Name Mixin selector official aLfda;a(Legm$c;Z)Ljava/lang/Exception;intermediary method_54583Lnet/minecraft/class_8897;method_54583(Lnet/minecraft/class_32$class_5143;Z)Ljava/lang/Exception;named getLoadingExceptionLnet/minecraft/client/gui/screen/world/RecoverWorldScreen;getLoadingException(Lnet/minecraft/world/level/storage/LevelStorage$Session;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(net.minecraft.client.gui.Element)to set the element that is initially focused. -
getNarratedTitle
- Overrides:
getNarratedTitlein classScreen- Mappings:
Namespace Name Mixin selector official hLfdb;h()Lvf;intermediary method_25435Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;named getNarratedTitleLnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
close
public void close()
-