Class RealmsSlotOptionsScreen
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.RealmsSlotOptionsScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen
intermediary net/minecraft/class_4423
official fki
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private boolean
private final String
static final List
<Difficulty> private Difficulty
private static final Text
private static final int
private static final int
private boolean
private GameMode
private TextFieldWidget
private final RealmsWorldOptions
protected final RealmsConfigureWorldScreen
private boolean
private String
(package private) static final Text
private boolean
(package private) int
(package private) RealmsSlotOptionsScreen.SettingsSlider
private final RealmsServer.WorldType
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
ConstructorDescriptionRealmsSlotOptionsScreen
(RealmsConfigureWorldScreen parent, RealmsWorldOptions options, RealmsServer.WorldType worldType, int activeSlot) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private static <T> T
getSpawnToggleButtonCallback
(Text text, Consumer<Boolean> valueSetter) private static <T> int
void
init()
Called when a screen should be initialized.void
render
(DrawContext context, int mouseX, int mouseY, float delta) private void
private void
setSlotName
(String slotName) 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, 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, 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
-
field_32125
private static final int field_32125- See Also:
- Mappings:
Namespace Name Mixin selector named field_32125
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32125:I
intermediary field_32125
Lnet/minecraft/class_4423;field_32125:I
official C
Lfki;C:I
-
DIFFICULTIES
- Mappings:
Namespace Name Mixin selector named DIFFICULTIES
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;DIFFICULTIES:Ljava/util/List;
intermediary field_22723
Lnet/minecraft/class_4423;field_22723:Ljava/util/List;
official a
Lfki;a:Ljava/util/List;
-
field_32126
private static final int field_32126- See Also:
- Mappings:
Namespace Name Mixin selector named field_32126
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;field_32126:I
intermediary field_32126
Lnet/minecraft/class_4423;field_32126:I
official D
Lfki;D:I
-
GAME_MODES
- Mappings:
Namespace Name Mixin selector named GAME_MODES
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;GAME_MODES:Ljava/util/List;
intermediary field_22724
Lnet/minecraft/class_4423;field_22724:Ljava/util/List;
official b
Lfki;b:Ljava/util/List;
-
EDIT_SLOT_NAME
- Mappings:
Namespace Name Mixin selector named EDIT_SLOT_NAME
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;EDIT_SLOT_NAME:Lnet/minecraft/text/Text;
intermediary field_26516
Lnet/minecraft/class_4423;field_26516:Lnet/minecraft/class_2561;
official E
Lfki;E:Lxv;
-
SPAWN_PROTECTION
- Mappings:
Namespace Name Mixin selector named SPAWN_PROTECTION
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;SPAWN_PROTECTION:Lnet/minecraft/text/Text;
intermediary field_27942
Lnet/minecraft/class_4423;field_27942:Lnet/minecraft/class_2561;
official F
Lfki;F:Lxv;
-
nameEdit
- Mappings:
Namespace Name Mixin selector named nameEdit
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;nameEdit:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_20113
Lnet/minecraft/class_4423;field_20113:Lnet/minecraft/class_342;
official G
Lfki;G:Lfon;
-
parent
- Mappings:
Namespace Name Mixin selector named parent
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;parent:Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;
intermediary field_20109
Lnet/minecraft/class_4423;field_20109:Lnet/minecraft/class_4388;
official c
Lfki;c:Lfjr;
-
column1_x
private int column1_x- Mappings:
Namespace Name Mixin selector named column1_x
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column1_x:I
intermediary field_20114
Lnet/minecraft/class_4423;field_20114:I
official H
Lfki;H:I
-
column2_x
private int column2_x- Mappings:
Namespace Name Mixin selector named column2_x
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;column2_x:I
intermediary field_20116
Lnet/minecraft/class_4423;field_20116:I
official I
Lfki;I:I
-
options
- Mappings:
Namespace Name Mixin selector named options
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;options:Lnet/minecraft/client/realms/dto/RealmsWorldOptions;
intermediary field_20117
Lnet/minecraft/class_4423;field_20117:Lnet/minecraft/class_4883;
official J
Lfki;J:Lfio;
-
worldType
- Mappings:
Namespace Name Mixin selector named worldType
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
intermediary field_20118
Lnet/minecraft/class_4423;field_20118:Lnet/minecraft/class_4877$class_4321;
official K
Lfki;K:Lfii$d;
-
difficulty
- Mappings:
Namespace Name Mixin selector named difficulty
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;difficulty:Lnet/minecraft/world/Difficulty;
intermediary field_27943
Lnet/minecraft/class_4423;field_27943:Lnet/minecraft/class_1267;
official L
Lfki;L:Lbtf;
-
gameMode
- Mappings:
Namespace Name Mixin selector named gameMode
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;gameMode:Lnet/minecraft/world/GameMode;
intermediary field_20121
Lnet/minecraft/class_4423;field_20121:Lnet/minecraft/class_1934;
official M
Lfki;M:Ldhe;
-
defaultSlotName
- Mappings:
Namespace Name Mixin selector named defaultSlotName
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;defaultSlotName:Ljava/lang/String;
intermediary field_39187
Lnet/minecraft/class_4423;field_39187:Ljava/lang/String;
official N
Lfki;N:Ljava/lang/String;
-
slotName
- Mappings:
Namespace Name Mixin selector named slotName
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;slotName:Ljava/lang/String;
intermediary field_39188
Lnet/minecraft/class_4423;field_39188:Ljava/lang/String;
official O
Lfki;O:Ljava/lang/String;
-
pvp
private boolean pvp- Mappings:
Namespace Name Mixin selector named pvp
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;pvp:Z
intermediary field_20122
Lnet/minecraft/class_4423;field_20122:Z
official P
Lfki;P:Z
-
spawnMonsters
private boolean spawnMonsters- Mappings:
Namespace Name Mixin selector named spawnMonsters
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnMonsters:Z
intermediary field_20125
Lnet/minecraft/class_4423;field_20125:Z
official Q
Lfki;Q:Z
-
spawnProtection
int spawnProtection- Mappings:
Namespace Name Mixin selector named spawnProtection
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnProtection:I
intermediary field_20120
Lnet/minecraft/class_4423;field_20120:I
official R
Lfki;R:I
-
commandBlocks
private boolean commandBlocks- Mappings:
Namespace Name Mixin selector named commandBlocks
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;commandBlocks:Z
intermediary field_20127
Lnet/minecraft/class_4423;field_20127:Z
official S
Lfki;S:Z
-
forceGameMode
private boolean forceGameMode- Mappings:
Namespace Name Mixin selector named forceGameMode
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;forceGameMode:Z
intermediary field_20128
Lnet/minecraft/class_4423;field_20128:Z
official T
Lfki;T:Z
-
spawnProtectionButton
RealmsSlotOptionsScreen.SettingsSlider spawnProtectionButton- Mappings:
Namespace Name Mixin selector named spawnProtectionButton
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;spawnProtectionButton:Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen$SettingsSlider;
intermediary field_20133
Lnet/minecraft/class_4423;field_20133:Lnet/minecraft/class_4423$class_4424;
official U
Lfki;U:Lfki$a;
-
-
Constructor Details
-
RealmsSlotOptionsScreen
public RealmsSlotOptionsScreen(RealmsConfigureWorldScreen parent, RealmsWorldOptions options, RealmsServer.WorldType worldType, int activeSlot) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;<init>(Lnet/minecraft/client/realms/gui/screen/RealmsConfigureWorldScreen;Lnet/minecraft/client/realms/dto/RealmsWorldOptions;Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;I)V
intermediary <init>
Lnet/minecraft/class_4423;<init>(Lnet/minecraft/class_4388;Lnet/minecraft/class_4883;Lnet/minecraft/class_4877$class_4321;I)V
official <init>
Lfki;<init>(Lfjr;Lfio;Lfii$d;I)V
-
-
Method Details
-
close
public void close() -
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;get(Ljava/util/List;II)Ljava/lang/Object;
intermediary method_32498
Lnet/minecraft/class_4423;method_32498(Ljava/util/List;II)Ljava/lang/Object;
official a
Lfki;a(Ljava/util/List;II)Ljava/lang/Object;
-
indexOf
- Mappings:
Namespace Name Mixin selector named indexOf
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;indexOf(Ljava/util/List;Ljava/lang/Object;I)I
intermediary method_32499
Lnet/minecraft/class_4423;method_32499(Ljava/util/List;Ljava/lang/Object;I)I
official a
Lfki;a(Ljava/util/List;Ljava/lang/Object;I)I
-
init
public void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
getSpawnToggleButtonCallback
private CyclingButtonWidget.UpdateCallback<Boolean> getSpawnToggleButtonCallback(Text text, Consumer<Boolean> valueSetter) - Mappings:
Namespace Name Mixin selector named getSpawnToggleButtonCallback
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;getSpawnToggleButtonCallback(Lnet/minecraft/text/Text;Ljava/util/function/Consumer;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget$UpdateCallback;
intermediary method_43756
Lnet/minecraft/class_4423;method_43756(Lnet/minecraft/class_2561;Ljava/util/function/Consumer;)Lnet/minecraft/class_5676$class_5678;
official a
Lfki;a(Lxv;Ljava/util/function/Consumer;)Lfol$b;
-
getNarratedTitle
- Overrides:
getNarratedTitle
in classScreen
- Mappings:
Namespace Name Mixin selector named getNarratedTitle
Lnet/minecraft/client/gui/screen/Screen;getNarratedTitle()Lnet/minecraft/text/Text;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Lnet/minecraft/class_2561;
official i
Lftx;i()Lxv;
-
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
-
setSlotName
- Mappings:
Namespace Name Mixin selector named setSlotName
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;setSlotName(Ljava/lang/String;)V
intermediary method_43757
Lnet/minecraft/class_4423;method_43757(Ljava/lang/String;)V
official a
Lfki;a(Ljava/lang/String;)V
-
saveSettings
private void saveSettings()- Mappings:
Namespace Name Mixin selector named saveSettings
Lnet/minecraft/client/realms/gui/screen/RealmsSlotOptionsScreen;saveSettings()V
intermediary method_21486
Lnet/minecraft/class_4423;method_21486()V
official E
Lfki;E()V
-