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 fda
intermediary net/minecraft/class_8897
named 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
Modifier and TypeFieldDescriptionprivate static final Text
private final BooleanConsumer
private static final Text
private static final Text
private static final Text
private final MultilineTextWidget
private static final int
private static final Text
private final DirectionalLayoutWidget
private static final Logger
private final Text
private final MultilineTextWidget
private static final Text
private static final Text
private static final Text
private final LevelStorage.Session
private static final Text
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRecoverWorldScreen
(MinecraftClient client, BooleanConsumer callback, LevelStorage.Session session) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
getLoadingException
(LevelStorage.Session session, boolean old) protected void
init()
Called when a screen should be initialized.protected void
private Text
toText
(LevelStorage.Session session, boolean old, @Nullable Exception exception) private void
tryRestore
(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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods 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 a
Lfda;a:Lorg/slf4j/Logger;
intermediary field_46862
Lnet/minecraft/class_8897;field_46862:Lorg/slf4j/Logger;
named LOGGER
Lnet/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 b
Lfda;b:I
intermediary field_46863
Lnet/minecraft/class_8897;field_46863:I
named field_46863
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;field_46863:I
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official c
Lfda;c:Lvf;
intermediary field_46864
Lnet/minecraft/class_8897;field_46864:Lnet/minecraft/class_2561;
named TITLE_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
-
BUG_TRACKER_TEXT
- Mappings:
Namespace Name Mixin selector official k
Lfda;k:Lvf;
intermediary field_46865
Lnet/minecraft/class_8897;field_46865:Lnet/minecraft/class_2561;
named BUG_TRACKER_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;BUG_TRACKER_TEXT:Lnet/minecraft/text/Text;
-
RESTORE_TEXT
- Mappings:
Namespace Name Mixin selector official l
Lfda;l:Lvf;
intermediary field_46866
Lnet/minecraft/class_8897;field_46866:Lnet/minecraft/class_2561;
named RESTORE_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;RESTORE_TEXT:Lnet/minecraft/text/Text;
-
NO_FALLBACK_TEXT
- Mappings:
Namespace Name Mixin selector official m
Lfda;m:Lvf;
intermediary field_46867
Lnet/minecraft/class_8897;field_46867:Lnet/minecraft/class_2561;
named NO_FALLBACK_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;NO_FALLBACK_TEXT:Lnet/minecraft/text/Text;
-
DONE_TITLE_TEXT
- Mappings:
Namespace Name Mixin selector official n
Lfda;n:Lvf;
intermediary field_46868
Lnet/minecraft/class_8897;field_46868:Lnet/minecraft/class_2561;
named DONE_TITLE_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_TITLE_TEXT:Lnet/minecraft/text/Text;
-
DONE_SUCCESS_TEXT
- Mappings:
Namespace Name Mixin selector official o
Lfda;o:Lvf;
intermediary field_46869
Lnet/minecraft/class_8897;field_46869:Lnet/minecraft/class_2561;
named DONE_SUCCESS_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_SUCCESS_TEXT:Lnet/minecraft/text/Text;
-
DONE_FAILED_TEXT
- Mappings:
Namespace Name Mixin selector official p
Lfda;p:Lvf;
intermediary field_46870
Lnet/minecraft/class_8897;field_46870:Lnet/minecraft/class_2561;
named DONE_FAILED_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;DONE_FAILED_TEXT:Lnet/minecraft/text/Text;
-
ISSUE_NONE_TEXT
- Mappings:
Namespace Name Mixin selector official q
Lfda;q:Lvf;
intermediary field_46871
Lnet/minecraft/class_8897;field_46871:Lnet/minecraft/class_2561;
named ISSUE_NONE_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;ISSUE_NONE_TEXT:Lnet/minecraft/text/Text;
-
MISSING_FILE_TEXT
- Mappings:
Namespace Name Mixin selector official r
Lfda;r:Lvf;
intermediary field_46872
Lnet/minecraft/class_8897;field_46872:Lnet/minecraft/class_2561;
named MISSING_FILE_TEXT
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;MISSING_FILE_TEXT:Lnet/minecraft/text/Text;
-
callback
- Mappings:
Namespace Name Mixin selector official t
Lfda;t:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
intermediary field_46873
Lnet/minecraft/class_8897;field_46873:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
named callback
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
layout
- Mappings:
Namespace Name Mixin selector official u
Lfda;u:Lfau;
intermediary field_46874
Lnet/minecraft/class_8897;field_46874:Lnet/minecraft/class_8667;
named layout
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;layout:Lnet/minecraft/client/gui/widget/DirectionalLayoutWidget;
-
message
- Mappings:
Namespace Name Mixin selector official v
Lfda;v:Lvf;
intermediary field_46875
Lnet/minecraft/class_8897;field_46875:Lnet/minecraft/class_2561;
named message
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;message:Lnet/minecraft/text/Text;
-
messageWidget
- Mappings:
Namespace Name Mixin selector official w
Lfda;w:Leya;
intermediary field_46876
Lnet/minecraft/class_8897;field_46876:Lnet/minecraft/class_7940;
named messageWidget
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;messageWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
exceptionWidget
- Mappings:
Namespace Name Mixin selector official x
Lfda;x:Leya;
intermediary field_46877
Lnet/minecraft/class_8897;field_46877:Lnet/minecraft/class_7940;
named exceptionWidget
Lnet/minecraft/client/gui/screen/world/RecoverWorldScreen;exceptionWidget:Lnet/minecraft/client/gui/widget/MultilineTextWidget;
-
session
- Mappings:
Namespace Name Mixin selector official y
Lfda;y:Legm$c;
intermediary field_46878
Lnet/minecraft/class_8897;field_46878:Lnet/minecraft/class_32$class_5143;
named session
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_8897;<init>(Lnet/minecraft/class_310;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_32$class_5143;)V
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;)V
-
-
Method Details
-
tryRestore
- Mappings:
Namespace Name Mixin selector official a
Lfda;a(Levi;)V
intermediary method_54585
Lnet/minecraft/class_8897;method_54585(Lnet/minecraft/class_310;)V
named tryRestore
Lnet/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 a
Lfda;a(Legm$c;ZLjava/lang/Exception;)Lvf;
intermediary method_54584
Lnet/minecraft/class_8897;method_54584(Lnet/minecraft/class_32$class_5143;ZLjava/lang/Exception;)Lnet/minecraft/class_2561;
named toText
Lnet/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 a
Lfda;a(Legm$c;Z)Ljava/lang/Exception;
intermediary method_54583
Lnet/minecraft/class_8897;method_54583(Lnet/minecraft/class_32$class_5143;Z)Ljava/lang/Exception;
named getLoadingException
Lnet/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:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector official h
Lfdb;h()Lvf;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
-
close
public void close()
-