Class RealmsSettingsScreen
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.RealmsSettingsScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsSettingsScreen
intermediary net/minecraft/class_4422
official fkh
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate TextFieldWidget
private TextFieldWidget
private final RealmsConfigureWorldScreen
private final RealmsServer
private static final int
private static final Text
private static final Text
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
ConstructorDescriptionRealmsSettingsScreen
(RealmsConfigureWorldScreen parent, RealmsServer serverData) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
init()
Called when a screen should be initialized.void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
save()
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, refreshWidgetPositions, remove, removed, 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
-
TEXT_FIELD_WIDTH
private static final int TEXT_FIELD_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named TEXT_FIELD_WIDTH
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;TEXT_FIELD_WIDTH:I
intermediary field_32124
Lnet/minecraft/class_4422;field_32124:I
official a
Lfkh;a:I
-
WORLD_NAME_TEXT
- Mappings:
Namespace Name Mixin selector named WORLD_NAME_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;WORLD_NAME_TEXT:Lnet/minecraft/text/Text;
intermediary field_26514
Lnet/minecraft/class_4422;field_26514:Lnet/minecraft/class_2561;
official b
Lfkh;b:Lxv;
-
WORLD_DESCRIPTION_TEXT
- Mappings:
Namespace Name Mixin selector named WORLD_DESCRIPTION_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;WORLD_DESCRIPTION_TEXT:Lnet/minecraft/text/Text;
intermediary field_26515
Lnet/minecraft/class_4422;field_26515:Lnet/minecraft/class_2561;
official c
Lfkh;c:Lxv;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
intermediary field_20096
Lnet/minecraft/class_4422;field_20096:Lnet/minecraft/class_4388;
official C
Lfkh;C:Lfjr;
-
serverData
- Mappings:
Namespace Name Mixin selector named serverData
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;serverData:Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary field_20097
Lnet/minecraft/class_4422;field_20097:Lnet/minecraft/class_4877;
official D
Lfkh;D:Lfii;
-
descEdit
- Mappings:
Namespace Name Mixin selector named descEdit
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;descEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_20100
Lnet/minecraft/class_4422;field_20100:Lnet/minecraft/class_342;
official E
Lfkh;E:Lfon;
-
nameEdit
- Mappings:
Namespace Name Mixin selector named nameEdit
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;nameEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_20101
Lnet/minecraft/class_4422;field_20101:Lnet/minecraft/class_342;
official F
Lfkh;F:Lfon;
-
-
Constructor Details
-
RealmsSettingsScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsServer;)V
intermediary <init>
Lnet/minecraft/class_4422;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4877;)V
official <init>
Lfkh;<init>(Lfjr;Lfii;)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
-
close
public void close() -
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-
save
public void save()- Mappings:
Namespace Name Mixin selector named save
Lnet/minecraft/client/realms/gui/screen/RealmsSettingsScreen;save()V
intermediary method_21454
Lnet/minecraft/class_4422;method_21454()V
official g
Lfkh;g()V
-