com.mojang.realmsclient.gui.screens

public class RealmsSlotOptionsScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, Widget

edv
com.mojang.realmsclient.gui.screens.RealmsSlotOptionsScreen
net.minecraft.class_4423
net.minecraft.client.realms.gui.screen.RealmsSlotOptionsScreen
net.minecraft.src.C_3335_

Field summary

Modifier and TypeField
private static final int
I
DEFAULT_DIFFICULTY
field_32125
field_32125
f_167511_
public static final List<Difficulty>
a
DIFFICULTIES
field_22723
DIFFICULTIES
f_89870_
private static final int
J
DEFAULT_GAME_MODE
field_32126
field_32126
f_167512_
public static final List<GameType>
b
GAME_MODES
field_22724
GAME_MODES
f_89871_
private static final Component
K
NAME_LABEL
field_26516
EDIT_SLOT_NAME
f_89876_
static final Component
L
SPAWN_PROTECTION_TEXT
field_27942
SPAWN_PROTECTION
f_167513_
private static final Component
M
SPAWN_WARNING_TITLE
field_39186
SPAWN_TOGGLE_TITLE
f_231308_
private EditBox
N
nameEdit
field_20113
nameEdit
f_89877_
protected final RealmsConfigureWorldScreen
c
parent
field_20109
parent
f_89872_
private int
O
column1X
field_20114
column1_x
f_89878_
private int
P
columnWidth
field_20116
column2_x
f_89879_
private final RealmsWorldOptions
Q
options
field_20117
options
f_89881_
private final RealmsServer$WorldType
R
worldType
field_20118
worldType
f_89882_
private Difficulty
S
difficulty
field_27943
difficulty
f_89852_
private GameType
T
gameMode
field_20121
gameMode
f_89853_
private final String
U
defaultSlotName
field_39187
defaultSlotName
f_231309_
private String
V
worldName
field_39188
slotName
f_231310_
private boolean
W
pvp
field_20122
pvp
f_89854_
private boolean
X
spawnNPCs
field_20123
spawnNpcs
f_89855_
private boolean
Y
spawnAnimals
field_20124
spawnAnimals
f_89856_
private boolean
Z
spawnMonsters
field_20125
spawnMonsters
f_89857_
int
aa
spawnProtection
field_20120
spawnProtection
f_89858_
private boolean
ab
commandBlocks
field_20127
commandBlocks
f_89859_
private boolean
ac
forceGameMode
field_20128
forceGameMode
f_89860_
RealmsSlotOptionsScreen$SettingsSlider
ad
spawnProtectionButton
field_20133
spawnProtectionButton
f_89865_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
e()
removed()
method_25432()
removed()
m_7861_()
public void
d()
tick()
method_25393()
tick()
m_86600_()
public boolean
a(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
method_25404(int arg0, int arg1, int arg2)
keyPressed(int arg0, int arg1, int arg2)
m_7933_(int p_89892_, int p_89893_, int arg2)
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)
m_167524_(List<T> p_167525_, int p_167526_, int p_167527_)
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)
m_167528_(List<T> p_167529_, T p_167530_, int p_167531_)
public void
b()
init()
method_25426()
init()
m_7856_()
private CycleButton$OnValueChange<Boolean>
a(rq arg0, Consumer<Boolean> arg1)
confirmDangerousOption(Component arg0, Consumer<Boolean> arg1)
method_43756(class_2561 arg0, Consumer<Boolean> arg1)
getSpawnToggleButtonCallback(Text text, Consumer<Boolean> valueSetter)
m_231323_(C_4996_ p_231325_, Consumer<Boolean> arg1)
public Component
ae_()
getNarrationMessage()
method_25435()
getNarratedTitle()
m_142562_()
public void
a(eaq arg0, int arg1, int arg2, float arg3)
render(PoseStack arg0, int arg1, int arg2, float arg3)
method_25394(class_4587 arg0, int arg1, int arg2, float arg3)
render(MatrixStack arg0, int arg1, int arg2, float arg3)
m_6305_(C_3181_ p_89896_, int p_89897_, int p_89898_, float arg3)
private void
a(String arg0)
setWorldName(String arg0)
method_43757(String arg0)
setSlotName(String slotName)
m_231313_(String arg0)
private void
g()
saveSettings()
method_21486()
saveSettings()
m_89940_()