类 RealmsConfigureWorldScreen
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.RealmsConfigureWorldScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private Button
private static final ResourceLocation
private static final int
private static final int
private static final ResourceLocation
private static final ResourceLocation
private final RealmsMainScreen
private int
private static final org.slf4j.Logger
private static final ResourceLocation
private Button
private Button
private Button
private int
private static final Component
private static final Component
private static final Component
private static final Component
private static final Component
private RealmsServer
private final long
private Button
private final List
<RealmsWorldSlotButton> private boolean
private Button
private Button
private static final Component
private Component
private static final Component
从类继承的字段 net.minecraft.realms.RealmsScreen
COLOR_DARK_GRAY, COLOR_GREEN, COLOR_LINK, COLOR_LINK_HOVER, COLOR_MEDIUM_GRAY, EXPIRATION_NOTIFICATION_DAYS, HARDCORE_HEART_SIZE, SIZE_LIMIT, SKIN_FACE_SIZE, TITLE_HEIGHT
从类继承的字段 net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private RealmsWorldSlotButton
addSlotButton
(int p_167386_) private int
centerButton
(int p_88466_, int p_88467_) void
private void
private void
drawRealmStatus
(GuiGraphics p_298677_, int p_297798_, int p_301226_, int p_298804_, int p_297961_, ResourceLocation p_299441_, Supplier<Component> p_300912_) private void
drawServerStatus
(GuiGraphics p_281709_, int p_88491_, int p_88492_, int p_88493_, int p_88494_) void
fetchServerData
(long p_88427_) private int
frame
(int p_88488_) private void
private void
private void
void
init()
private boolean
private void
joinRealm
(RealmsServer p_88439_) private int
leftButton
(int p_88464_) void
onClose()
void
openTheWorld
(boolean p_88460_) void
render
(GuiGraphics p_282982_, int p_281739_, int p_283097_, float p_282528_) void
saveSettings
(String p_88455_, String p_88456_) void
saveSlotSettings
(RealmsWorldOptions p_88445_) private void
void
private void
switchToEmptySlot
(int p_88469_, RealmsServer p_88470_) private void
switchToFullSlot
(int p_88421_, RealmsServer p_88422_) private void
private void
templateSelectionCallback
(WorldTemplate p_167395_) 从类继承的方法 net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, row
从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus
从类继承的方法 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, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
EXPIRED_SPRITE
-
EXPIRES_SOON_SPRITE
-
OPEN_SPRITE
-
CLOSED_SPRITE
-
LOGGER
private static final org.slf4j.Logger LOGGER -
WORLD_LIST_TITLE
-
TITLE
-
SERVER_EXPIRED_TOOLTIP
-
SERVER_EXPIRING_SOON_TOOLTIP
-
SERVER_EXPIRING_IN_DAY_TOOLTIP
-
SERVER_OPEN_TOOLTIP
-
SERVER_CLOSED_TOOLTIP
-
DEFAULT_BUTTON_WIDTH
private static final int DEFAULT_BUTTON_WIDTH- 另请参阅:
-
DEFAULT_BUTTON_OFFSET
private static final int DEFAULT_BUTTON_OFFSET- 另请参阅:
-
toolTip
-
lastScreen
-
serverData
-
serverId
private final long serverId -
leftX
private int leftX -
rightX
private int rightX -
playersButton
-
settingsButton
-
subscriptionButton
-
optionsButton
-
backupButton
-
resetWorldButton
-
switchMinigameButton
-
stateChanged
private boolean stateChanged -
slotButtonList
-
-
构造器详细资料
-
RealmsConfigureWorldScreen
-
-
方法详细资料
-
init
public void init() -
addSlotButton
-
leftButton
private int leftButton(int p_88464_) -
centerButton
private int centerButton(int p_88466_, int p_88467_) -
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
frame
private int frame(int p_88488_) -
onClose
public void onClose() -
fetchServerData
public void fetchServerData(long p_88427_) -
disableButtons
private void disableButtons() -
joinRealm
-
switchToMinigame
private void switchToMinigame() -
switchToFullSlot
-
switchToEmptySlot
-
drawServerStatus
private void drawServerStatus(GuiGraphics p_281709_, int p_88491_, int p_88492_, int p_88493_, int p_88494_) -
drawRealmStatus
private void drawRealmStatus(GuiGraphics p_298677_, int p_297798_, int p_301226_, int p_298804_, int p_297961_, ResourceLocation p_299441_, Supplier<Component> p_300912_) -
isMinigame
private boolean isMinigame() -
hideRegularButtons
private void hideRegularButtons() -
hide
-
show
-
hideMinigameButtons
private void hideMinigameButtons() -
saveSlotSettings
-
saveSettings
-
openTheWorld
public void openTheWorld(boolean p_88460_) -
closeTheWorld
public void closeTheWorld() -
stateChanged
public void stateChanged() -
templateSelectionCallback
-
getNewScreen
-