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
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate final it.unimi.dsi.fastutil.booleans.BooleanConsumerprivate static final Componentprivate static final Componentprivate static final Componentprivate final MultiLineTextWidgetprivate final LinearLayoutprivate static final org.slf4j.Loggerprivate final Componentprivate final MultiLineTextWidgetprivate static final Componentprivate static final Componentprivate static final Componentprivate static final Componentprivate static final intprivate final LevelStorageSource.LevelStorageAccessprivate static final ComponentFields inherited from class net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionRecoverWorldDataScreen(Minecraft p_307263_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_307619_, LevelStorageSource.LevelStorageAccess p_307488_) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidattemptRestore(Minecraft p_307224_) private ComponentbuildInfo(LevelStorageSource.LevelStorageAccess p_307659_, boolean p_307410_, Exception p_307637_) private ExceptioncollectIssue(LevelStorageSource.LevelStorageAccess p_307217_, boolean p_307519_) protected voidinit()voidonClose()protected voidMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
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.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMovedMethods 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_307263_, it.unimi.dsi.fastutil.booleans.BooleanConsumer p_307619_, LevelStorageSource.LevelStorageAccess p_307488_)
-
-
Method Details
-
attemptRestore
-
buildInfo
private Component buildInfo(LevelStorageSource.LevelStorageAccess p_307659_, boolean p_307410_, @Nullable Exception p_307637_) -
collectIssue
@Nullable private Exception collectIssue(LevelStorageSource.LevelStorageAccess p_307217_, boolean p_307519_) -
init
protected void init() -
repositionElements
protected void repositionElements()- Overrides:
repositionElementsin classScreen
-
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
onClose
public void onClose()
-