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 fcr
-
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_33042, field_33055, field_33057, field_33061, field_33062, field_33063, field_39676, 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, 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, long parentId) RealmsCreateRealmScreen
(RealmsMainScreen parent, RealmsServer realmsServer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
createSnapshotWorld
(long parentId) private void
createWorld
(RealmsServer realmsServer) void
init()
Called when a screen should be initialized.protected void
protected void
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, narrateLabels, row
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getPanoramaTickDelta, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, render, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenError
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
Lfcr;a:Lxp;
-
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
Lfcr;b:Lxp;
-
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
Lfcr;c:Lxp;
-
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 B
Lfcr;B: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 C
Lfcr;C: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 D
Lfcr;D:Lfak;
-
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 E
Lfcr;E:Lfks;
-
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 F
Lfcr;F:Lfho;
-
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 G
Lfcr;G:Lfho;
-
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 H
Lfcr;H: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;)V
intermediary <init>
Lnet/minecraft/class_4390;<init>(Lnet/minecraft/class_4325;Lnet/minecraft/class_4877;)V
official <init>
Lfcr;<init>(Lfak;Lfbg;)V
-
RealmsCreateRealmScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;J)V
intermediary <init>
Lnet/minecraft/class_4390;<init>(Lnet/minecraft/class_4325;J)V
official <init>
Lfcr;<init>(Lfak;J)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.
This should call
setInitialFocus()
to set the element that is initially focused. -
setInitialFocus
protected void setInitialFocus()- 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 aB_
Lfne;aB_()V
-
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_21245
Lnet/minecraft/class_4390;method_21245(Lnet/minecraft/class_4877;)V
official a
Lfcr;a(Lfbg;)V
-
createSnapshotWorld
private void createSnapshotWorld(long parentId) - Mappings:
Namespace Name Mixin selector named createSnapshotWorld
Lnet/minecraft/client/realms/gui/screen/RealmsCreateRealmScreen;createSnapshotWorld(J)V
intermediary method_54370
Lnet/minecraft/class_4390;method_54370(J)V
official a
Lfcr;a(J)V
-
close
public void close()
-