Package net.minecraft.client.gui.screens
Class RecoverWorldDataScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.RecoverWorldDataScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.DeferredTooltipRendering, Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Component
private final it.unimi.dsi.fastutil.booleans.BooleanConsumer
private static final Component
private static final Component
private static final Component
private final MultiLineTextWidget
private final LinearLayout
private static final org.slf4j.Logger
private final Component
private final MultiLineTextWidget
private static final Component
private static final Component
private static final Component
private static final Component
private static final int
private final LevelStorageSource.LevelStorageAccess
private static final Component
Fields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionRecoverWorldDataScreen
(Minecraft p_310416_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_312140_, LevelStorageSource.LevelStorageAccess p_310102_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
attemptRestore
(Minecraft p_311355_) private Component
buildInfo
(LevelStorageSource.LevelStorageAccess p_311955_, boolean p_311169_, Exception p_312117_) private Exception
collectIssue
(LevelStorageSource.LevelStorageAccess p_311404_, boolean p_311931_) protected void
init()
void
onClose()
protected void
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removed, removeWidget, render, renderBackground, renderDirtBackground, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
SCREEN_SIDE_MARGIN
private static final int SCREEN_SIDE_MARGIN- See Also:
-
TITLE
-
BUGTRACKER_BUTTON
-
RESTORE_BUTTON
-
NO_FALLBACK_TOOLTIP
-
DONE_TITLE
-
DONE_SUCCESS
-
DONE_FAILED
-
NO_ISSUES
-
MISSING_FILE
-
callback
private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback -
layout
-
message
-
messageWidget
-
issuesWidget
-
storageAccess
-
-
Constructor Details
-
RecoverWorldDataScreen
public RecoverWorldDataScreen(Minecraft p_310416_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_312140_, LevelStorageSource.LevelStorageAccess p_310102_)
-
-
Method Details
-
attemptRestore
-
buildInfo
private Component buildInfo(LevelStorageSource.LevelStorageAccess p_311955_, boolean p_311169_, @Nullable Exception p_312117_) -
collectIssue
@Nullable private Exception collectIssue(LevelStorageSource.LevelStorageAccess p_311404_, boolean p_311931_) -
init
protected void init() -
repositionElements
protected void repositionElements()- Overrides:
repositionElements
in classScreen
-
getNarrationMessage
- Overrides:
getNarrationMessage
in classScreen
-
onClose
public void onClose()
-