com.mojang.realmsclient.gui.screens

public class RealmsSlotOptionsScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fkj
com.mojang.realmsclient.gui.screens.RealmsSlotOptionsScreen
net.minecraft.class_4423
net.minecraft.client.realms.gui.screen.RealmsSlotOptionsScreen

Field summary

Modifier and TypeField
private static final int
C
DEFAULT_DIFFICULTY
field_32125
field_32125
public static final List<Difficulty>
a
DIFFICULTIES
field_22723
DIFFICULTIES
private static final int
D
DEFAULT_GAME_MODE
field_32126
field_32126
public static final List<GameType>
b
GAME_MODES
field_22724
GAME_MODES
private static final Component
E
NAME_LABEL
field_26516
EDIT_SLOT_NAME
static final Component
F
SPAWN_PROTECTION_TEXT
field_27942
SPAWN_PROTECTION
private EditBox
G
nameEdit
field_20113
nameEdit
protected final RealmsConfigureWorldScreen
c
parentScreen
field_20109
parent
private int
H
column1X
field_20114
column1_x
private int
I
columnWidth
field_20116
column2_x
private final RealmsWorldOptions
J
options
field_20117
options
private final RealmsServer$WorldType
K
worldType
field_20118
worldType
private Difficulty
L
difficulty
field_27943
difficulty
private GameType
M
gameMode
field_20121
gameMode
private final String
N
defaultSlotName
field_39187
defaultSlotName
private String
O
worldName
field_39188
slotName
private boolean
P
pvp
field_20122
pvp
private boolean
Q
spawnMonsters
field_20125
spawnMonsters
int
R
spawnProtection
field_20120
spawnProtection
private boolean
S
commandBlocks
field_20127
commandBlocks
private boolean
T
forceGameMode
field_20128
forceGameMode
RealmsSlotOptionsScreen$SettingsSlider
U
spawnProtectionButton
field_20133
spawnProtectionButton

Constructor summary

ModifierConstructor
public (RealmsConfigureWorldScreen parent, RealmsWorldOptions options, RealmsServer$WorldType worldType, int activeSlot)

Method summary

Modifier and TypeMethod
public void
aP_()
onClose()
method_25419()
close()
private static <T> T
a(List<T> arg0, int arg1, int arg2)
findByIndex(List<T> arg0, int arg1, int arg2)
method_32498(List<T> arg0, int arg1, int arg2)
get(List<T> list, int index, int fallbackIndex)
private static <T> int
a(List<T> arg0, T arg1, int arg2)
findIndex(List<T> arg0, T arg1, int arg2)
method_32499(List<T> arg0, T arg1, int arg2)
indexOf(List<T> list, T value, int fallbackIndex)
public void
aT_()
init()
method_25426()
init()
private CycleButton$OnValueChange<Boolean>
a(xv arg0, Consumer<Boolean> arg1)
confirmDangerousOption(Component arg0, Consumer<Boolean> arg1)
method_43756(class_2561 arg0, Consumer<Boolean> arg1)
getSpawnToggleButtonCallback(Text text, Consumer<Boolean> valueSetter)
public Component
i()
getNarrationMessage()
method_25435()
getNarratedTitle()
public void
a(fns arg0, int arg1, int arg2, float arg3)
render(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private void
a(String arg0)
setWorldName(String arg0)
method_43757(String arg0)
setSlotName(String slotName)
private void
E()
saveSettings()
method_21486()
saveSettings()