Class RealmsBackupScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsBackupScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
(package private) class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescription(package private) RealmsBackupScreen.BackupObjectSelectionList
(package private) Button
(package private) static final Component
(package private) final RealmsConfigureWorldScreen
(package private) final HeaderAndFooterLayout
(package private) static final org.slf4j.Logger
private static final Component
(package private) boolean
private static final int
(package private) static final Component
(package private) final RealmsServer
private final int
private static final Component
private static final String
Fields inherited from class net.minecraft.realms.RealmsScreen
COLOR_DARK_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHT
Fields 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, PANORAMA, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionRealmsBackupScreen
(RealmsConfigureWorldScreen p_88126_, RealmsServer p_88127_, int p_88128_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
void
init()
void
onClose()
void
render
(GuiGraphics p_283405_, int p_282020_, int p_282404_, float p_281280_) protected void
Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, advancePanoramaTime, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, 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, 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
static final org.slf4j.Logger LOGGER -
TITLE
-
RESTORE_TOOLTIP
-
HAS_CHANGES_TOOLTIP
-
NO_BACKUPS_LABEL
-
UPLOADED_KEY
- See Also:
-
PADDING
private static final int PADDING- See Also:
-
lastScreen
-
backups
-
backupList
-
layout
-
slotId
private final int slotId -
downloadButton
-
serverData
-
noBackups
boolean noBackups
-
-
Constructor Details
-
RealmsBackupScreen
-
-
Method Details
-
init
public void init() -
render
- Specified by:
render
in interfaceRenderable
- Overrides:
render
in classScreen
-
repositionElements
protected void repositionElements()- Overrides:
repositionElements
in classScreen
-
fetchRealmsBackups
private void fetchRealmsBackups() -
onClose
public void onClose() -
downloadClicked
private void downloadClicked()
-