类 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
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private static final ResourceLocation
(专用程序包) WorldTemplatePaginatedList
private Component
private final Runnable
private static final ResourceLocation
(专用程序包) WorldTemplatePaginatedList
private static final ResourceLocation
(专用程序包) WorldTemplatePaginatedList
private final Screen
(专用程序包) 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
(专用程序包) WorldTemplatePaginatedList
private static final ResourceLocation
从类继承的字段 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_URL
从类继承的字段 net.minecraft.client.gui.screens.Screen
BACKGROUND_LOCATION, font, height, minecraft, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器构造器说明RealmsResetWorldScreen
(Screen pLastScreen, RealmsServer pServerData, Runnable pResetWorldRunnable, Runnable pCallback) RealmsResetWorldScreen
(Screen pLastScreen, RealmsServer pServerData, Component pTitle, Runnable pResetWorldRunnable, Runnable pCallback) RealmsResetWorldScreen
(Screen pLastScreen, RealmsServer pServerData, Component pTitle, Component pSubtitle, int pSubtitleColor, Component pButtonTitle, Runnable pResetWorldRunnable, Runnable pCallback) -
方法概要
修饰符和类型方法说明(专用程序包) void
drawFrame
(GuiGraphics pGuiGraphics, int pX, int pY, Component pText, ResourceLocation pAtlasLocation, boolean p_282720_, boolean p_282971_) private int
frame
(int p_89393_) private void
generationSelectionCallback
(WorldGenerationInfo p_167456_) void
init()
boolean
keyPressed
(int pKeyCode, int pScanCode, int pModifiers) void
render
(GuiGraphics pGuiGraphics, int pMouseX, int pMouseY, float pPartialTick) private void
resetWorld
(Runnable p_167465_) void
setResetTitle
(Component pResetTitle) void
setSlot
(int pSlot) private void
startTask
(LongRunningTask pTask) void
switchSlot
(Runnable p_89383_) private void
templateSelectionCallback
(WorldTemplate p_167454_) 从类继承的方法 net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
从类继承的方法 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, wrapScreenError
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
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
-
-
构造器详细资料
-
RealmsResetWorldScreen
public RealmsResetWorldScreen(Screen pLastScreen, RealmsServer pServerData, Component pTitle, Runnable pResetWorldRunnable, Runnable pCallback) -
RealmsResetWorldScreen
public RealmsResetWorldScreen(Screen pLastScreen, RealmsServer pServerData, Runnable pResetWorldRunnable, Runnable pCallback) -
RealmsResetWorldScreen
-
-
方法详细资料
-
setSlot
public void setSlot(int pSlot) -
setResetTitle
-
init
public void init() -
getNarrationMessage
- 覆盖:
getNarrationMessage
在类中Screen
-
keyPressed
public boolean keyPressed(int pKeyCode, int pScanCode, int pModifiers) - 指定者:
keyPressed
在接口中ContainerEventHandler
- 指定者:
keyPressed
在接口中GuiEventListener
- 覆盖:
keyPressed
在类中Screen
-
frame
private int frame(int p_89393_) -
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
drawFrame
void drawFrame(GuiGraphics pGuiGraphics, int pX, int pY, Component pText, ResourceLocation pAtlasLocation, boolean p_282720_, boolean p_282971_) -
startTask
-
switchSlot
-
templateSelectionCallback
-
generationSelectionCallback
-
resetWorld
-