Class RealmsResetWorldScreen
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.RealmsResetWorldScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ResourceLocation
(package private) WorldTemplatePaginatedList
private static final Component
private static final Component
private static final Component
static final Component
private static final Component
private static final Component
private static final ResourceLocation
(package private) WorldTemplatePaginatedList
private static final Component
private static final ResourceLocation
private static final Component
(package private) WorldTemplatePaginatedList
private final Screen
private final HeaderAndFooterLayout
(package private) static final org.slf4j.Logger
private static final ResourceLocation
private final RealmCreationTask
private static final Component
private static final Component
private static final Component
private final Component
private final Runnable
private final RealmsServer
final int
private final Component
private final int
private static final ResourceLocation
(package private) WorldTemplatePaginatedList
private static final ResourceLocation
private static final Component
Fields inherited from class net.minecraft.realms.RealmsScreen
COLOR_DARK_GRAY, COLOR_GREEN, 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, narratorButton, PANORAMA, renderables, screenExecutor, title, width
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ModifierConstructorDescriptionRealmsResetWorldScreen
(Screen p_310390_, RealmsServer p_311752_, int p_312610_, Component p_310665_, Component p_312883_, int p_311717_, Component p_309644_, RealmCreationTask p_331078_, Runnable p_311131_) private
RealmsResetWorldScreen
(Screen p_89329_, RealmsServer p_89330_, int p_299248_, Component p_299051_, Component p_300553_, int p_300846_, Component p_298233_, Runnable p_89331_) -
Method Summary
Modifier and TypeMethodDescriptionstatic RealmsResetWorldScreen
forEmptySlot
(Screen p_298871_, int p_300158_, RealmsServer p_300454_, Runnable p_298350_) static RealmsResetWorldScreen
forNewRealm
(Screen p_300926_, RealmsServer p_297918_, RealmCreationTask p_333820_, Runnable p_299910_) static RealmsResetWorldScreen
forResetSlot
(Screen p_298755_, RealmsServer p_299132_, Runnable p_300942_) private void
generationSelectionCallback
(WorldGenerationInfo p_167456_) void
init()
void
onClose()
protected void
private void
runResetTasks
(LongRunningTask p_311937_) private void
templateSelectionCallback
(WorldTemplate p_167454_) 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, 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, 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 -
CREATE_REALM_TITLE
-
CREATE_REALM_SUBTITLE
-
CREATE_WORLD_TITLE
-
CREATE_WORLD_SUBTITLE
-
RESET_WORLD_TITLE
-
RESET_WORLD_SUBTITLE
-
CREATE_WORLD_RESET_TASK_TITLE
-
RESET_WORLD_RESET_TASK_TITLE
-
WORLD_TEMPLATES_TITLE
-
ADVENTURES_TITLE
-
EXPERIENCES_TITLE
-
INSPIRATION_TITLE
-
lastScreen
-
serverData
-
subtitle
-
subtitleColor
private final int subtitleColor -
resetTaskTitle
-
UPLOAD_LOCATION
-
ADVENTURE_MAP_LOCATION
-
SURVIVAL_SPAWN_LOCATION
-
NEW_WORLD_LOCATION
-
EXPERIENCE_LOCATION
-
INSPIRATION_LOCATION
-
templates
WorldTemplatePaginatedList templates -
adventuremaps
WorldTemplatePaginatedList adventuremaps -
experiences
WorldTemplatePaginatedList experiences -
inspirations
WorldTemplatePaginatedList inspirations -
slot
public final int slot -
realmCreationTask
-
resetWorldRunnable
-
layout
-
-
Constructor Details
-
RealmsResetWorldScreen
-
RealmsResetWorldScreen
public RealmsResetWorldScreen(Screen p_310390_, RealmsServer p_311752_, int p_312610_, Component p_310665_, Component p_312883_, int p_311717_, Component p_309644_, @Nullable RealmCreationTask p_331078_, Runnable p_311131_)
-
-
Method Details
-
forNewRealm
public static RealmsResetWorldScreen forNewRealm(Screen p_300926_, RealmsServer p_297918_, RealmCreationTask p_333820_, Runnable p_299910_) -
forEmptySlot
public static RealmsResetWorldScreen forEmptySlot(Screen p_298871_, int p_300158_, RealmsServer p_300454_, Runnable p_298350_) -
forResetSlot
public static RealmsResetWorldScreen forResetSlot(Screen p_298755_, RealmsServer p_299132_, Runnable p_300942_) -
init
public void init() -
repositionElements
protected void repositionElements()- Overrides:
repositionElements
in classScreen
-
getNarrationMessage
- Overrides:
getNarrationMessage
in classScreen
-
onClose
public void onClose() -
templateSelectionCallback
-
generationSelectionCallback
-
runResetTasks
-