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 Componentprivate final Runnableprivate static final ResourceLocation(package private) WorldTemplatePaginatedListprivate static final ResourceLocation(package private) WorldTemplatePaginatedListprivate final Screen(package private) static final org.slf4j.Loggerprivate static final ResourceLocationprivate Componentprivate final Runnableprivate final RealmsServerintprivate static final ResourceLocationprivate Componentprivate intprivate static final ResourceLocation(package private) WorldTemplatePaginatedListprivate static final ResourceLocationFields inherited from class net.minecraft.realms.RealmsScreen
COLOR_BLACK, COLOR_BRIGHT_YELLOW, COLOR_BUTTON_YELLOW, COLOR_DARK_GRAY, COLOR_DARK_GREEN, COLOR_GRAY, COLOR_GREEN, COLOR_INFO, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, COLOR_RED, COLOR_RED_FADE, COLOR_WHITE, COLOR_YELLOW, COMPONENT_HEIGHT, EXPIRATION_NOTIFICATION_DAYS, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHT, UPDATE_BREAKS_ADVENTURE_URLFields inherited from class net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, widthFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionRealmsResetWorldScreen(Screen p_89329_, RealmsServer p_89330_, Runnable p_89331_, Runnable p_89332_) RealmsResetWorldScreen(Screen p_167448_, RealmsServer p_167449_, Component p_167450_, Runnable p_167451_, Runnable p_167452_) RealmsResetWorldScreen(Screen p_89334_, RealmsServer p_89335_, Component p_89336_, Component p_89337_, int p_89338_, Component p_89339_, Runnable p_89340_, Runnable p_89341_) -
Method Summary
Modifier and TypeMethodDescription(package private) voiddrawFrame(GuiGraphics p_283049_, int p_282569_, int p_282343_, Component p_281871_, ResourceLocation p_281613_, boolean p_282720_, boolean p_282971_) private intframe(int p_89393_) private voidgenerationSelectionCallback(WorldGenerationInfo p_167456_) voidinit()booleankeyPressed(int p_89346_, int p_89347_, int p_89348_) voidrender(GuiGraphics p_282623_, int p_282142_, int p_281508_, float p_283104_) private voidresetWorld(Runnable p_167465_) voidsetResetTitle(Component p_89390_) voidsetSlot(int p_89344_) private voidstartTask(LongRunningTask p_167458_) voidswitchSlot(Runnable p_89383_) 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, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearWidgets, findNarratableWidget, getBackgroundMusic, getMinecraft, getRectangle, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderDirtBackground, renderWithTooltip, repositionElements, resize, 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, magicalSpecialHackyFocus, 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 -
lastScreen
-
serverData
-
subtitle
-
buttonTitle
-
subtitleColor
private int subtitleColor -
SLOT_FRAME_LOCATION
-
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 int slot -
resetTitle
-
resetWorldRunnable
-
callback
-
-
Constructor Details
-
RealmsResetWorldScreen
public RealmsResetWorldScreen(Screen p_167448_, RealmsServer p_167449_, Component p_167450_, Runnable p_167451_, Runnable p_167452_) -
RealmsResetWorldScreen
public RealmsResetWorldScreen(Screen p_89329_, RealmsServer p_89330_, Runnable p_89331_, Runnable p_89332_) -
RealmsResetWorldScreen
-
-
Method Details
-
setSlot
public void setSlot(int p_89344_) -
setResetTitle
-
init
public void init() -
getNarrationMessage
- Overrides:
getNarrationMessagein classScreen
-
keyPressed
public boolean keyPressed(int p_89346_, int p_89347_, int p_89348_) - Specified by:
keyPressedin interfaceContainerEventHandler- Specified by:
keyPressedin interfaceGuiEventListener- Overrides:
keyPressedin classScreen
-
frame
private int frame(int p_89393_) -
render
- Specified by:
renderin interfaceRenderable- Overrides:
renderin classScreen
-
drawFrame
void drawFrame(GuiGraphics p_283049_, int p_282569_, int p_282343_, Component p_281871_, ResourceLocation p_281613_, boolean p_282720_, boolean p_282971_) -
startTask
-
switchSlot
-
templateSelectionCallback
-
generationSelectionCallback
-
resetWorld
-