com.mojang.realmsclient.gui.screens

public class RealmsSlotOptionsScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

etk
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
v
DEFAULT_DIFFICULTY
field_32125
field_32125
f_167511_
public static final List<Difficulty>
a
DIFFICULTIES
field_22723
DIFFICULTIES
f_89870_
private static final int
w
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
x
NAME_LABEL
field_26516
EDIT_SLOT_NAME
f_89876_
static final Component
y
SPAWN_PROTECTION_TEXT
field_27942
SPAWN_PROTECTION
f_167513_
private static final Component
z
SPAWN_WARNING_TITLE
field_39186
SPAWN_TOGGLE_TITLE
f_231308_
private EditBox
A
nameEdit
field_20113
nameEdit
f_89877_
protected final RealmsConfigureWorldScreen
c
parent
field_20109
parent
f_89872_
private int
B
column1X
field_20114
column1_x
f_89878_
private int
C
columnWidth
field_20116
column2_x
f_89879_
private final RealmsWorldOptions
D
options
field_20117
options
f_89881_
private final RealmsServer$WorldType
E
worldType
field_20118
worldType
f_89882_
private Difficulty
F
difficulty
field_27943
difficulty
f_89852_
private GameType
G
gameMode
field_20121
gameMode
f_89853_
private final String
H
defaultSlotName
field_39187
defaultSlotName
f_231309_
private String
I
worldName
field_39188
slotName
f_231310_
private boolean
J
pvp
field_20122
pvp
f_89854_
private boolean
K
spawnNPCs
field_20123
spawnNpcs
f_89855_
private boolean
L
spawnAnimals
field_20124
spawnAnimals
f_89856_
private boolean
M
spawnMonsters
field_20125
spawnMonsters
f_89857_
int
N
spawnProtection
field_20120
spawnProtection
f_89858_
private boolean
O
commandBlocks
field_20127
commandBlocks
f_89859_
private boolean
P
forceGameMode
field_20128
forceGameMode
f_89860_
RealmsSlotOptionsScreen$SettingsSlider
Q
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 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
aN_()
init()
method_25426()
init()
m_7856_()
private CycleButton$OnValueChange<Boolean>
a(vf 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
h()
getNarrationMessage()
method_25435()
getNarratedTitle()
m_142562_()
public void
a(ewu 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)
m_88315_(C_279497_ p_283172_, int p_281531_, int p_283191_, float arg3)
private void
a(String arg0)
setWorldName(String arg0)
method_43757(String arg0)
setSlotName(String slotName)
m_231313_(String arg0)
private void
D()
saveSettings()
method_21486()
saveSettings()
m_89940_()