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 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_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, EXPIRATION_NOTIFICATION_DAYS, HARDCORE_HEART_SIZE, LOGO_HEIGHT, LOGO_LOCATION, LOGO_TEXTURE_HEIGHT, LOGO_TEXTURE_WIDTH, LOGO_WIDTH, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHTFields inherited from class net.minecraft.client.gui.screens.Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, renderables, screenExecutor, title, width -
Constructor Summary
ConstructorsModifierConstructorDescriptionRealmsResetWorldScreen(Screen pLastScreen, RealmsServer pServerData, int pSlot, Component pTitle, Component pSubtitle, int pSubtitleColor, Component pResetTaskTitle, RealmCreationTask pRealmCreationTask, Runnable pResetWorldRunnable) privateRealmsResetWorldScreen(Screen pLastScreen, RealmsServer pServerData, int pSlot, Component pTitle, Component pSubtitle, int pSubtitleColor, Component pResetTaskTitle, Runnable pResetWorldRunnable) -
Method Summary
Modifier and TypeMethodDescriptionstatic RealmsResetWorldScreenforEmptySlot(Screen pLastScreen, int pSlot, RealmsServer pServerData, Runnable pResetWorldRunnable) static RealmsResetWorldScreenforNewRealm(Screen pLastScreen, RealmsServer pServerData, RealmCreationTask pRealmCreationTask, Runnable pResetWorldRunnable) static RealmsResetWorldScreenforResetSlot(Screen pLastScreen, RealmsServer pServerData, Runnable pResetWorldRunnable) voidinit()voidonClose()protected voidprivate voidrunResetTasks(LongRunningTask pTask) private voidtemplateSelectionCallback(WorldTemplate pTemplate) Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, realmsLogo, rowMethods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleClickEvent, handleComponentClicked, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isMouseOver, isPauseScreen, isValidCharacterForName, keyPressed, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltipAndSubtitles, resize, setInitialFocus, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods 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
getBorderForArrowNavigation, mouseMoved, shouldTakeFocusAfterInteractionMethods 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
-
GENERATE_NEW_WORLD
-
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 pLastScreen, RealmsServer pServerData, int pSlot, Component pTitle, Component pSubtitle, int pSubtitleColor, Component pResetTaskTitle, @Nullable RealmCreationTask pRealmCreationTask, Runnable pResetWorldRunnable)
-
-
Method Details
-
forNewRealm
public static RealmsResetWorldScreen forNewRealm(Screen pLastScreen, RealmsServer pServerData, RealmCreationTask pRealmCreationTask, Runnable pResetWorldRunnable) -
forEmptySlot
public static RealmsResetWorldScreen forEmptySlot(Screen pLastScreen, int pSlot, RealmsServer pServerData, Runnable pResetWorldRunnable) -
forResetSlot
public static RealmsResetWorldScreen forResetSlot(Screen pLastScreen, RealmsServer pServerData, Runnable pResetWorldRunnable) -
init
public void init() -
repositionElements
protected void repositionElements()- Overrides:
repositionElementsin classScreen
-
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
onClose
public void onClose() -
templateSelectionCallback
-
runResetTasks
-