Class RealmsCreateRealmScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.realms.gui.screen.RealmsScreen
net.minecraft.client.realms.gui.screen.RealmsCreateRealmScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen
intermediary net/minecraft/class_4390
official fjt
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate TextFieldWidget
private static final int
private static final int
private final ThreePartsLayoutWidget
private TextFieldWidget
private final RealmsMainScreen
private static final Text
private static final Text
private static final Text
private final Runnable
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
field_33040, field_33041, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, field_54866, MAX_FILE_SIZE
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionRealmsCreateRealmScreen
(RealmsMainScreen parent, RealmsServer server, boolean prerelease) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static RealmsServer
createPrereleaseServer
(RealmsServer parent) private void
createWorld
(RealmsServer server) private void
createWorld
(RealmsServer realmsServer, boolean prerelease) void
init()
Called when a screen should be initialized.protected void
protected void
This should be overridden with a call toScreen.setInitialFocus(Element)
to set the element that is initially focused.Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldHideStatusEffectHud, shouldPause, switchFocus, tick, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
TITLE_TEXT
- Mappings:
Namespace Name Mixin selector named TITLE_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
intermediary field_46706
Lnet/minecraft/class_4390;field_46706:Lnet/minecraft/class_2561;
official a
Lfjt;a:Lxv;
-
WORLD_NAME_TEXT
- Mappings:
Namespace Name Mixin selector named WORLD_NAME_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;WORLD_NAME_TEXT:Lnet/minecraft/text/Text;
intermediary field_26487
Lnet/minecraft/class_4390;field_26487:Lnet/minecraft/class_2561;
official b
Lfjt;b:Lxv;
-
WORLD_DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector named WORLD_DESCRIPTION_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;WORLD_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
intermediary field_26488
Lnet/minecraft/class_4390;field_26488:Lnet/minecraft/class_2561;
official c
Lfjt;c:Lxv;
-
field_45243
private static final int field_45243- See Also:
- Mappings:
Namespace Name Mixin selector named field_45243
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;field_45243:I
intermediary field_45243
Lnet/minecraft/class_4390;field_45243:I
official C
Lfjt;C:I
-
field_45244
private static final int field_45244- See Also:
- Mappings:
Namespace Name Mixin selector named field_45244
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;field_45244:I
intermediary field_45244
Lnet/minecraft/class_4390;field_45244:I
official D
Lfjt;D:I
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;
intermediary field_19830
Lnet/minecraft/class_4390;field_19830:Lnet/minecraft/class_4325;
official E
Lfjt;E:Lfhc;
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
intermediary field_45242
Lnet/minecraft/class_4390;field_45242:Lnet/minecraft/class_8132;
official F
Lfjt;F:Lfrt;
-
nameBox
- Mappings:
Namespace Name Mixin selector named nameBox
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;nameBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_19831
Lnet/minecraft/class_4390;field_19831:Lnet/minecraft/class_342;
official G
Lfjt;G:Lfon;
-
descriptionBox
- Mappings:
Namespace Name Mixin selector named descriptionBox
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;descriptionBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_19832
Lnet/minecraft/class_4390;field_19832:Lnet/minecraft/class_342;
official H
Lfjt;H:Lfon;
-
worldCreator
- Mappings:
Namespace Name Mixin selector named worldCreator
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;worldCreator:Ljava/lang/Runnable;
intermediary field_46705
Lnet/minecraft/class_4390;field_46705:Ljava/lang/Runnable;
official I
Lfjt;I:Ljava/lang/Runnable;
-
-
Constructor Details
-
RealmsCreateRealmScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;Lnet/minecraft/client/realms/dto/RealmsServer;Z)V
intermediary <init>
Lnet/minecraft/class_4390;<init>(Lnet/minecraft/class_4325;Lnet/minecraft/class_4877;Z)V
official <init>
Lfjt;<init>(Lfhc;Lfii;Z)V
-
-
Method Details
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)
to set the element that is initially focused.- Overrides:
setInitialFocus
in classScreen
- Mappings:
Namespace Name Mixin selector named setInitialFocus
Lnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
intermediary method_56131
Lnet/minecraft/class_437;method_56131()V
official aG_
Lftx;aG_()V
-
refreshWidgetPositions
protected void refreshWidgetPositions()- Overrides:
refreshWidgetPositions
in classScreen
- Mappings:
Namespace Name Mixin selector named refreshWidgetPositions
Lnet/minecraft/client/gui/screen/Screen;refreshWidgetPositions()V
intermediary method_48640
Lnet/minecraft/class_437;method_48640()V
official c
Lftx;c()V
-
createWorld
- Mappings:
Namespace Name Mixin selector named createWorld
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;createWorld(Lnet/minecraft/client/realms/dto/RealmsServer;Z)V
intermediary method_21245
Lnet/minecraft/class_4390;method_21245(Lnet/minecraft/class_4877;Z)V
official a
Lfjt;a(Lfii;Z)V
-
createPrereleaseServer
- Mappings:
Namespace Name Mixin selector named createPrereleaseServer
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;createPrereleaseServer(Lnet/minecraft/client/realms/dto/RealmsServer;)Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary method_64357
Lnet/minecraft/class_4390;method_64357(Lnet/minecraft/class_4877;)Lnet/minecraft/class_4877;
official a
Lfjt;a(Lfii;)Lfii;
-
createWorld
- Mappings:
Namespace Name Mixin selector named createWorld
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;createWorld(Lnet/minecraft/client/realms/dto/RealmsServer;)V
intermediary method_64361
Lnet/minecraft/class_4390;method_64361(Lnet/minecraft/class_4877;)V
official b
Lfjt;b(Lfii;)V
-
close
public void close()
-