com.mojang.realmsclient.dto

public class RealmsWorldOptions

extends ValueObject

eir
com.mojang.realmsclient.dto.RealmsWorldOptions
net.minecraft.class_4883
net.minecraft.client.realms.dto.RealmsWorldOptions
net.minecraft.src.C_3253_

Field summary

Modifier and TypeField
public final boolean
a
pvp
field_22632
pvp
f_87598_
public final boolean
b
spawnAnimals
field_22633
spawnAnimals
f_87599_
public final boolean
c
spawnMonsters
field_22634
spawnMonsters
f_87600_
public final boolean
d
spawnNPCs
field_22635
spawnNpcs
f_87601_
public final int
e
spawnProtection
field_22636
spawnProtection
f_87602_
public final boolean
f
commandBlocks
field_22637
commandBlocks
f_87603_
public final boolean
g
forceGameMode
field_22638
forceGameMode
f_87604_
public final int
h
difficulty
field_22639
difficulty
f_87605_
public final int
i
gameMode
field_22640
gameMode
f_87606_
private final String
m
slotName
field_22641
slotName
f_87607_
public long
j
templateId
field_22642
templateId
f_87608_
public String
k
templateImage
field_22643
templateImage
f_87609_
public boolean
l
empty
field_22645
empty
f_87611_
private static final boolean
n
DEFAULT_FORCE_GAME_MODE
field_32100
field_32100
f_167290_
private static final boolean
o
DEFAULT_PVP
field_32101
field_32101
f_167291_
private static final boolean
p
DEFAULT_SPAWN_ANIMALS
field_32102
field_32102
f_167292_
private static final boolean
q
DEFAULT_SPAWN_MONSTERS
field_32103
field_32103
f_167293_
private static final boolean
r
DEFAULT_SPAWN_NPCS
field_32104
field_32104
f_167294_
private static final int
s
DEFAULT_SPAWN_PROTECTION
field_32105
field_32105
f_167295_
private static final boolean
t
DEFAULT_COMMAND_BLOCKS
field_32106
field_32106
f_167296_
private static final int
u
DEFAULT_DIFFICULTY
field_32107
DEFAULT_DIFFICULTY
f_167297_
private static final int
v
DEFAULT_GAME_MODE
field_32108
field_32108
f_167298_
private static final String
w
DEFAULT_SLOT_NAME
field_32109
DEFAULT_SLOT_NAME
f_167299_
private static final long
x
DEFAULT_TEMPLATE_ID
field_32110
DEFAULT_WORLD_TEMPLATE_ID
f_167300_
private static final String
y
DEFAULT_TEMPLATE_IMAGE
field_22646
DEFAULT_WORLD_TEMPLATE_IMAGE
f_87612_

Constructor summary

ModifierConstructor
public (boolean pvp, boolean spawnAnimals, boolean spawnMonsters, boolean spawnNpcs, int spawnProtection, boolean commandBlocks, int difficulty, int gameMode, boolean forceGameMode, String slotName)

Method summary

Modifier and TypeMethod
public static RealmsWorldOptions
a()
createDefaults()
method_25076()
getDefaults()
m_87625_()
public static RealmsWorldOptions
b()
createEmptyDefaults()
method_25080()
getEmptyDefaults()
m_87632_()
public void
a(boolean arg0)
setEmpty(boolean arg0)
method_25079(boolean arg0)
setEmpty(boolean empty)
m_87630_(boolean arg0)
public static RealmsWorldOptions
a(com.google.gson.JsonObject arg0)
parse(com.google.gson.JsonObject arg0)
method_25078(com.google.gson.JsonObject arg0)
parse(com.google.gson.JsonObject json)
m_87628_(com.google.gson.JsonObject p_87629_)
public String
a(int arg0)
getSlotName(int arg0)
method_25077(int arg0)
getSlotName(int index)
m_87626_(int arg0)
public String
b(int arg0)
getDefaultSlotName(int arg0)
method_25081(int arg0)
getDefaultSlotName(int index)
m_87633_(int arg0)
public String
c()
toJson()
method_25082()
toJson()
m_87635_()
public RealmsWorldOptions
d()
clone()
method_25083()
clone()
clone()