Class RealmsConfigureWorldScreen
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.RealmsConfigureWorldScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen
intermediary net/minecraft/class_4388
official fsb
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ThreePartsLayoutWidget
private static final Logger
private final RealmsMainScreen
private static final Text
private @Nullable ButtonWidget
private @Nullable RealmsRegionDataList
private final Map
<RealmsRegion, ServiceQuality> private @Nullable RealmsServer
private final long
private boolean
private final TabManager
private @Nullable TabNavigationWidget
Fields inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
BLUE, DARK_GRAY, field_33055, field_33057, field_39676, field_54866, GRAY, GREEN, MAX_FILE_SIZE, PURPLE, REALMS_LOGO_TEXTURE, REALMS_LOGO_TEXTURE_HEIGHT, REALMS_LOGO_TEXTURE_WIDTH, REALMS_LOGO_WIDGET_HEIGHT, REALMS_LOGO_WIDGET_WIDTH
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorsConstructorDescriptionRealmsConfigureWorldScreen
(RealmsMainScreen parent, long serverId) RealmsConfigureWorldScreen
(RealmsMainScreen parent, long serverId, @Nullable RealmsServer server, @Nullable RealmsRegionDataList regionDataList) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
void
void
fetchServerData
(long worldId) int
int
void
init()
Called when a screen should be initialized.boolean
boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.method_71975
(RealmsServer realmsServer) method_72205
(RealmsServiceException realmsServiceException) private void
onTabLoaded
(Tab tab) private void
onTabUnloaded
(Tab tab) void
openTheWorld
(boolean join) private void
refresh()
void
void
render
(DrawContext context, int mouseX, int mouseY, float deltaTicks) protected void
renderDarkening
(DrawContext context) void
saveSettings
(String name, String description, RegionSelectionMethod regionSelectionMethod, @Nullable RealmsRegion region) void
saveSlotSettings
(RealmsSlot slot) void
private void
Methods inherited from class net.minecraft.client.realms.gui.screen.RealmsScreen
addLabel, createRealmsLogoIconWidget, 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, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, 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
getBorder, 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
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;LOGGER:Lorg/slf4j/Logger;
intermediary field_19790
Lnet/minecraft/class_4388;field_19790:Lorg/slf4j/Logger;
official a
Lfsb;a:Lorg/slf4j/Logger;
-
PLAY_BUTTON_TEXT
- Mappings:
Namespace Name Mixin selector named PLAY_BUTTON_TEXT
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;PLAY_BUTTON_TEXT:Lnet/minecraft/text/Text;
intermediary field_60248
Lnet/minecraft/class_4388;field_60248:Lnet/minecraft/class_2561;
official b
Lfsb;b:Lxo;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;
intermediary field_19792
Lnet/minecraft/class_4388;field_19792:Lnet/minecraft/class_4325;
official c
Lfsb;c:Lfok;
-
server
- Mappings:
Namespace Name Mixin selector named server
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;server:Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary field_20493
Lnet/minecraft/class_4388;field_20493:Lnet/minecraft/class_4877;
official G
Lfsb;G:Lfpw;
-
regionDataList
- Mappings:
Namespace Name Mixin selector named regionDataList
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;regionDataList:Lnet/minecraft/client/realms/dto/RealmsRegionDataList;
intermediary field_60243
Lnet/minecraft/class_4388;field_60243:Lnet/minecraft/class_11301;
official H
Lfsb;H:Lfpp;
-
regions
- Mappings:
Namespace Name Mixin selector named regions
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;regions:Ljava/util/Map;
intermediary field_60244
Lnet/minecraft/class_4388;field_60244:Ljava/util/Map;
official I
Lfsb;I:Ljava/util/Map;
-
serverId
private final long serverId- Mappings:
Namespace Name Mixin selector named serverId
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;serverId:J
intermediary field_19794
Lnet/minecraft/class_4388;field_19794:J
official J
Lfsb;J:J
-
stateChanged
private boolean stateChanged- Mappings:
Namespace Name Mixin selector named stateChanged
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;stateChanged:Z
intermediary field_19806
Lnet/minecraft/class_4388;field_19806:Z
official K
Lfsb;K:Z
-
tabManager
- Mappings:
Namespace Name Mixin selector named tabManager
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;tabManager:Lnet/minecraft/client/gui/tab/TabManager;
intermediary field_60245
Lnet/minecraft/class_4388;field_60245:Lnet/minecraft/class_8088;
official L
Lfsb;L:Lfzu;
-
playButton
- Mappings:
Namespace Name Mixin selector named playButton
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;playButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
intermediary field_60861
Lnet/minecraft/class_4388;field_60861:Lnet/minecraft/class_4185;
official M
Lfsb;M:Lfxn;
-
layout
- Mappings:
Namespace Name Mixin selector named layout
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;layout:Lnet/minecraft/client/gui/widget/ThreePartsLayoutWidget;
intermediary field_60247
Lnet/minecraft/class_4388;field_60247:Lnet/minecraft/class_8132;
official O
Lfsb;O:Lgbj;
-
-
Constructor Details
-
RealmsConfigureWorldScreen
public RealmsConfigureWorldScreen(RealmsMainScreen parent, long serverId, @Nullable @Nullable RealmsServer server, @Nullable @Nullable RealmsRegionDataList regionDataList) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;JLnet/minecraft/client/realms/dto/RealmsServer;Lnet/minecraft/client/realms/dto/RealmsRegionDataList;)V
intermediary <init>
Lnet/minecraft/class_4388;<init>(Lnet/minecraft/class_4325;JLnet/minecraft/class_4877;Lnet/minecraft/class_11301;)V
official <init>
Lfsb;<init>(Lfok;JLfpw;Lfpp;)V
-
RealmsConfigureWorldScreen
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsMainScreen;J)V
intermediary <init>
Lnet/minecraft/class_4388;<init>(Lnet/minecraft/class_4325;J)V
official <init>
Lfsb;<init>(Lfok;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.
-
onTabLoaded
- Mappings:
Namespace Name Mixin selector named onTabLoaded
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;onTabLoaded(Lnet/minecraft/client/gui/tab/Tab;)V
intermediary method_71210
Lnet/minecraft/class_4388;method_71210(Lnet/minecraft/class_8087;)V
official a
Lfsb;a(Lfzt;)V
-
onTabUnloaded
- Mappings:
Namespace Name Mixin selector named onTabUnloaded
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;onTabUnloaded(Lnet/minecraft/client/gui/tab/Tab;)V
intermediary method_71213
Lnet/minecraft/class_4388;method_71213(Lnet/minecraft/class_8087;)V
official b
Lfsb;b(Lfzt;)V
-
getContentHeight
public int getContentHeight()- Mappings:
Namespace Name Mixin selector named getContentHeight
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;getContentHeight()I
intermediary method_71214
Lnet/minecraft/class_4388;method_71214()I
official g
Lfsb;g()I
-
getHeaderHeight
public int getHeaderHeight()- Mappings:
Namespace Name Mixin selector named getHeaderHeight
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;getHeaderHeight()I
intermediary method_71215
Lnet/minecraft/class_4388;method_71215()I
official h
Lfsb;h()I
-
getParent
- Mappings:
Namespace Name Mixin selector named getParent
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;getParent()Lnet/minecraft/client/gui/screen/Screen;
intermediary method_71216
Lnet/minecraft/class_4388;method_71216()Lnet/minecraft/class_437;
official j
Lfsb;j()Lges;
-
method_72205
- Mappings:
Namespace Name Mixin selector named method_72205
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;method_72205(Lnet/minecraft/client/realms/exception/RealmsServiceException;)Lnet/minecraft/client/gui/screen/Screen;
intermediary method_72205
Lnet/minecraft/class_4388;method_72205(Lnet/minecraft/class_4355;)Lnet/minecraft/class_437;
official a
Lfsb;a(Lfqw;)Lges;
-
refreshWidgetPositions
public 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
Lges;c()V
-
updatePlayButton
private void updatePlayButton()- Mappings:
Namespace Name Mixin selector named updatePlayButton
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;updatePlayButton()V
intermediary method_71974
Lnet/minecraft/class_4388;method_71974()V
official G
Lfsb;G()V
-
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
Lfyr;a(Lfxa;IIF)V
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
official a
Lfzm;a(III)Z
-
renderDarkening
- Overrides:
renderDarkening
in classScreen
- Mappings:
Namespace Name Mixin selector named renderDarkening
Lnet/minecraft/client/gui/screen/Screen;renderDarkening(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_57735
Lnet/minecraft/class_437;method_57735(Lnet/minecraft/class_332;)V
official a
Lges;a(Lfxa;)V
-
close
public void close() -
fetchRegionDataList
public void fetchRegionDataList()- Mappings:
Namespace Name Mixin selector named fetchRegionDataList
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;fetchRegionDataList()V
intermediary method_71217
Lnet/minecraft/class_4388;method_71217()V
official k
Lfsb;k()V
-
fetchServerData
public void fetchServerData(long worldId) - Mappings:
Namespace Name Mixin selector named fetchServerData
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;fetchServerData(J)V
intermediary method_21204
Lnet/minecraft/class_4388;method_21204(J)V
official a
Lfsb;a(J)V
-
refresh
private void refresh()- Mappings:
Namespace Name Mixin selector named refresh
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;refresh()V
intermediary method_71203
Lnet/minecraft/class_4388;method_71203()V
official H
Lfsb;H()V
-
saveSlotSettings
- Mappings:
Namespace Name Mixin selector named saveSlotSettings
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;saveSlotSettings(Lnet/minecraft/client/realms/dto/RealmsSlot;)V
intermediary method_21208
Lnet/minecraft/class_4388;method_21208(Lnet/minecraft/class_11306;)V
official a
Lfsb;a(Lfqa;)V
-
saveSettings
public void saveSettings(String name, String description, RegionSelectionMethod regionSelectionMethod, @Nullable @Nullable RealmsRegion region) - Mappings:
Namespace Name Mixin selector named saveSettings
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;saveSettings(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/client/realms/dto/RegionSelectionMethod;Lnet/minecraft/client/realms/dto/RealmsRegion;)V
intermediary method_21215
Lnet/minecraft/class_4388;method_21215(Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_11311;Lnet/minecraft/class_11303;)V
official a
Lfsb;a(Ljava/lang/String;Ljava/lang/String;Lfqi;Lfpv;)V
-
openTheWorld
public void openTheWorld(boolean join) - Mappings:
Namespace Name Mixin selector named openTheWorld
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;openTheWorld(Z)V
intermediary method_21218
Lnet/minecraft/class_4388;method_21218(Z)V
official b
Lfsb;b(Z)V
-
closeTheWorld
public void closeTheWorld()- Mappings:
Namespace Name Mixin selector named closeTheWorld
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;closeTheWorld()V
intermediary method_21217
Lnet/minecraft/class_4388;method_21217()V
official l
Lfsb;l()V
-
stateChanged
public void stateChanged()- Mappings:
Namespace Name Mixin selector named stateChanged
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;stateChanged()V
intermediary method_21198
Lnet/minecraft/class_4388;method_21198()V
official m
Lfsb;m()V
-
invite
- Mappings:
Namespace Name Mixin selector named invite
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;invite(JLjava/lang/String;)Z
intermediary method_71205
Lnet/minecraft/class_4388;method_71205(JLjava/lang/String;)Z
official a
Lfsb;a(JLjava/lang/String;)Z
-
getNewScreen
- Mappings:
Namespace Name Mixin selector named getNewScreen
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;getNewScreen()Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
intermediary method_21219
Lnet/minecraft/class_4388;method_21219()Lnet/minecraft/class_4388;
official n
Lfsb;n()Lfsb;
-
method_71975
- Mappings:
Namespace Name Mixin selector named method_71975
Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;method_71975(Lnet/minecraft/client/realms/dto/RealmsServer;)Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
intermediary method_71975
Lnet/minecraft/class_4388;method_71975(Lnet/minecraft/class_4877;)Lnet/minecraft/class_4388;
official a
Lfsb;a(Lfpw;)Lfsb;
-