com.mojang.realmsclient.gui.screens

public class RealmsSlotOptionsScreen

extends RealmsScreen

All mapped superinterfaces:

ContainerEventHandler, GuiEventListener, TabOrderedElement, Renderable

fep
com.mojang.realmsclient.gui.screens.RealmsSlotOptionsScreen
net.minecraft.class_4423
net.minecraft.unmapped.C_fkbelcxs
net.minecraft.client.realms.gui.screen.RealmsSlotOptionsScreen
net.minecraft.client.gui.screen.realms.RealmsSlotOptionsScreen
net.minecraft.src.C_3335_

Field summary

Modifier and TypeField
private static final int
B
DEFAULT_DIFFICULTY
field_32125
f_vzdnrrft
field_32125
DEFAULT_DIFFICULTY
f_167511_
public static final List<Difficulty>
a
DIFFICULTIES
field_22723
f_uzyfcyoy
DIFFICULTIES
DIFFICULTIES
f_89870_
private static final int
C
DEFAULT_GAME_MODE
field_32126
f_iycehuji
field_32126
DEFAULT_GAME_MODE
f_167512_
public static final List<GameType>
b
GAME_MODES
field_22724
f_brwoswzt
GAME_MODES
GAME_MODES
f_89871_
private static final Component
D
NAME_LABEL
field_26516
f_owodpils
EDIT_SLOT_NAME
EDIT_SLOT_NAME
f_89876_
static final Component
E
SPAWN_PROTECTION_TEXT
field_27942
f_stgibwhd
SPAWN_PROTECTION
SPAWN_PROTECTION
f_167513_
private EditBox
F
nameEdit
field_20113
f_cejbnfuc
nameEdit
nameEdit
f_89877_
protected final RealmsConfigureWorldScreen
c
parentScreen
field_20109
f_eaoqrphf
parent
parent
f_337251_
private int
G
column1X
field_20114
f_pmrkroen
column1_x
column1X
f_89878_
private int
H
columnWidth
field_20116
f_wfrnubhv
column2_x
column2X
f_89879_
private final RealmsWorldOptions
I
options
field_20117
f_ybczuhsu
options
options
f_89881_
private final RealmsServer$WorldType
J
worldType
field_20118
f_sbfsrdvz
worldType
worldType
f_89882_
private Difficulty
K
difficulty
field_27943
f_ymhilltm
difficulty
difficulty
f_89852_
private GameType
L
gameMode
field_20121
f_bsgaeqld
gameMode
gameMode
f_89853_
private final String
M
defaultSlotName
field_39187
f_slgxbztl
defaultSlotName
defaultName
f_231309_
private String
N
worldName
field_39188
f_crjbizrf
slotName
name
f_231310_
private boolean
O
pvp
field_20122
f_agmcojav
pvp
pvp
f_89854_
private boolean
P
spawnNPCs
field_20123
f_nkmsvmhn
spawnNpcs
spawnNpcs
f_89855_
private boolean
Q
spawnAnimals
field_20124
f_rlvhdmgo
spawnAnimals
spawnAnimals
f_89856_
private boolean
R
spawnMonsters
field_20125
f_kpkjabzp
spawnMonsters
spawnMonsters
f_89857_
int
S
spawnProtection
field_20120
f_fmligpzc
spawnProtection
spawnProtection
f_89858_
private boolean
T
commandBlocks
field_20127
f_bwmqtifz
commandBlocks
commandBlocks
f_89859_
private boolean
U
forceGameMode
field_20128
f_xdlnbhlr
forceGameMode
forceGameMode
f_89860_
RealmsSlotOptionsScreen$SettingsSlider
V
spawnProtectionButton
field_20133
f_soiswjic
spawnProtectionButton
spawnProtectionButton
f_89865_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
d()
onClose()
method_25419()
m_tevgoglb()
close()
closeScreen()
m_7379_()
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)
m_kekrtasq(List<T> arg0, int arg1, int arg2)
get(List<T> list, int index, int fallbackIndex)
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)
m_eqquponw(List<T> arg0, T arg1, int arg2)
indexOf(List<T> list, T value, int fallbackIndex)
indexOf(List<T> list, T value, int fallbackIndex)
m_167528_(List<T> p_167529_, T p_167530_, int p_167531_)
public void
aT_()
init()
method_25426()
m_xaqeivsh()
init()
init()
m_7856_()
private CycleButton$OnValueChange<Boolean>
a(wz arg0, Consumer<Boolean> arg1)
confirmDangerousOption(Component arg0, Consumer<Boolean> arg1)
method_43756(class_2561 arg0, Consumer<Boolean> arg1)
m_zekfapgn(C_rdaqiwdt arg0, Consumer<Boolean> arg1)
getSpawnToggleButtonCallback(Text text, Consumer<Boolean> valueSetter)
createToggleButtonCallback(Text confirmationText, Consumer<Boolean> applier)
m_231323_(C_4996_ p_231325_, Consumer<Boolean> arg1)
public Component
i()
getNarrationMessage()
method_25435()
m_nvnfplud()
getNarratedTitle()
getNarratedTitle()
m_142562_()
public void
a(fhz 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)
m_ljhpujrm(C_sedilmty arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
render(GuiGraphics 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)
m_rtmetkig(String arg0)
setSlotName(String slotName)
setName(String name)
m_231313_(String arg0)
private void
C()
saveSettings()
method_21486()
m_dhfeaafd()
saveSettings()
saveSettings()
m_89940_()