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 ClassesNested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocation(package private) WorldTemplatePaginatedListprivate static final Componentprivate static final Componentprivate static final Componentstatic final Componentprivate static final Componentprivate static final Componentprivate static final ResourceLocation(package private) WorldTemplatePaginatedListprivate static final Componentprivate static final ResourceLocationprivate static final Component(package private) WorldTemplatePaginatedListprivate final Screenprivate final HeaderAndFooterLayout(package private) static final org.slf4j.Loggerprivate static final ResourceLocationprivate final RealmCreationTaskprivate static final Componentprivate static final Componentprivate static final Componentprivate final Componentprivate final Runnableprivate final RealmsServerfinal intprivate final Componentprivate final intprivate static final ResourceLocation(package private) WorldTemplatePaginatedListprivate static final ResourceLocationprivate static final ComponentFields 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_HEIGHTFields 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, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsModifierConstructorDescriptionRealmsResetWorldScreen(Screen p_306282_, RealmsServer p_306292_, int p_305906_, Component p_306014_, Component p_306028_, int p_306044_, Component p_306316_, RealmCreationTask p_320691_, Runnable p_306029_) privateRealmsResetWorldScreen(Screen p_89329_, RealmsServer p_89330_, int p_300857_, Component p_301121_, Component p_300859_, int p_300978_, Component p_300942_, Runnable p_89331_) -
Method Summary
Modifier and TypeMethodDescriptionstatic RealmsResetWorldScreenforEmptySlot(Screen p_300943_, int p_301275_, RealmsServer p_301312_, Runnable p_301297_) static RealmsResetWorldScreenforNewRealm(Screen p_300881_, RealmsServer p_301228_, RealmCreationTask p_320942_, Runnable p_300926_) static RealmsResetWorldScreenforResetSlot(Screen p_301039_, RealmsServer p_300914_, Runnable p_301017_) private voidgenerationSelectionCallback(WorldGenerationInfo p_167456_) voidinit()voidonClose()protected voidprivate voidrunResetTasks(LongRunningTask p_305864_) private voidtemplateSelectionCallback(WorldTemplate p_167454_) Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, rowMethods 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, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, narrationEnabled, 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, 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
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_306282_, RealmsServer p_306292_, int p_305906_, Component p_306014_, Component p_306028_, int p_306044_, Component p_306316_, @Nullable RealmCreationTask p_320691_, Runnable p_306029_)
-
-
Method Details
-
forNewRealm
public static RealmsResetWorldScreen forNewRealm(Screen p_300881_, RealmsServer p_301228_, RealmCreationTask p_320942_, Runnable p_300926_) -
forEmptySlot
public static RealmsResetWorldScreen forEmptySlot(Screen p_300943_, int p_301275_, RealmsServer p_301312_, Runnable p_301297_) -
forResetSlot
public static RealmsResetWorldScreen forResetSlot(Screen p_301039_, RealmsServer p_300914_, Runnable p_301017_) -
init
public void init() -
repositionElements
protected void repositionElements()- Overrides:
repositionElementsin classScreen
-
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
onClose
public void onClose() -
templateSelectionCallback
-
generationSelectionCallback
-
runResetTasks
-