Class RealmsResetWorldScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
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
,Widget
-
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 Component
private final Runnable
private static final ResourceLocation
(package private) WorldTemplatePaginatedList
private static final ResourceLocation
(package private) WorldTemplatePaginatedList
private final Screen
(package private) static final org.slf4j.Logger
private static final ResourceLocation
private Component
private final Runnable
private final RealmsServer
int
private static final ResourceLocation
private Component
private int
private static final ResourceLocation
(package private) WorldTemplatePaginatedList
private static final ResourceLocation
Fields 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_HAT_HEIGHT, SKIN_HAT_U, SKIN_HAT_V, SKIN_HAT_WIDTH, SKIN_HEAD_HEIGHT, SKIN_HEAD_U, SKIN_HEAD_V, SKIN_HEAD_WIDTH, SKIN_TEX_HEIGHT, SKIN_TEX_WIDTH, TITLE_HEIGHT, UPDATE_BREAKS_ADVENTURE_URL
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorDescriptionRealmsResetWorldScreen
(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) void
drawFrame
(PoseStack p_89355_, int p_89356_, int p_89357_, Component p_89358_, ResourceLocation p_89359_, boolean p_89360_, boolean p_89361_) private int
frame
(int p_89393_) private void
generationSelectionCallback
(WorldGenerationInfo p_167456_) void
init()
boolean
keyPressed
(int p_89346_, int p_89347_, int p_89348_) void
removed()
void
private void
resetWorld
(Runnable p_167465_) void
setResetTitle
(Component p_89390_) void
setSlot
(int p_89344_) private void
startTask
(LongRunningTask p_167458_) void
switchSlot
(Runnable p_89383_) 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
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onClose, onFilesDrop, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
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
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
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:
getNarrationMessage
in classScreen
-
removed
public void removed() -
keyPressed
public boolean keyPressed(int p_89346_, int p_89347_, int p_89348_) - Specified by:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classScreen
-
frame
private int frame(int p_89393_) -
render
-
drawFrame
void drawFrame(PoseStack p_89355_, int p_89356_, int p_89357_, Component p_89358_, ResourceLocation p_89359_, boolean p_89360_, boolean p_89361_) -
startTask
-
switchSlot
-
templateSelectionCallback
-
generationSelectionCallback
-
resetWorld
-