Class RealmsCreateRealmScreen
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.RealmsCreateRealmScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private static final Component
private final Runnable
private static final Component
private EditBox
private final RealmsMainScreen
private final HeaderAndFooterLayout
private static final Component
private EditBox
Fields 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_HEIGHT
Fields 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
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
ConstructorsConstructorDescriptionRealmsCreateRealmScreen
(RealmsMainScreen pLastScreen, RealmsServer pServer, boolean pIsSnapshot) -
Method Summary
Modifier and TypeMethodDescriptionprivate static RealmsServer
createSnapshotRealm
(RealmsServer pServer) private void
createWorld
(RealmsServer pServer, boolean pIsSnapshot) void
init()
void
onClose()
protected void
protected void
private void
showResetWorldScreen
(RealmsServer pServer) Methods inherited from class net.minecraft.realms.RealmsScreen
addLabel, createLabelNarration, realmsLogo, row
Methods inherited from class net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleClickEvent, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, onFilesDrop, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, resize, setInitialFocus, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
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
charTyped, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
CREATE_REALM_TEXT
-
NAME_LABEL
-
DESCRIPTION_LABEL
-
BUTTON_SPACING
private static final int BUTTON_SPACING- See Also:
-
CONTENT_WIDTH
private static final int CONTENT_WIDTH- See Also:
-
lastScreen
-
layout
-
nameBox
-
descriptionBox
-
createWorldRunnable
-
-
Constructor Details
-
RealmsCreateRealmScreen
public RealmsCreateRealmScreen(RealmsMainScreen pLastScreen, RealmsServer pServer, boolean pIsSnapshot)
-
-
Method Details
-
init
public void init() -
setInitialFocus
protected void setInitialFocus()- Overrides:
setInitialFocus
in classScreen
-
repositionElements
protected void repositionElements()- Overrides:
repositionElements
in classScreen
-
createWorld
-
createSnapshotRealm
-
showResetWorldScreen
-
onClose
public void onClose()
-