com.mojang.realmsclient.dto

public class RealmsWorldOptions

extends ValueObject

fcu
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
o
slotName
field_22641
slotName
f_87607_
public final String
j
version
field_46843
version
f_303798_
public final RealmsServer$Compatibility
k
compatibility
field_46844
compatibility
f_302886_
public long
l
templateId
field_22642
templateId
f_87608_
public String
m
templateImage
field_22643
templateImage
f_87609_
public boolean
n
empty
field_22645
empty
f_87611_
private static final boolean
p
DEFAULT_FORCE_GAME_MODE
field_32100
field_32100
f_167290_
private static final boolean
q
DEFAULT_PVP
field_32101
field_32101
f_167291_
private static final boolean
r
DEFAULT_SPAWN_ANIMALS
field_32102
field_32102
f_167292_
private static final boolean
s
DEFAULT_SPAWN_MONSTERS
field_32103
field_32103
f_167293_
private static final boolean
t
DEFAULT_SPAWN_NPCS
field_32104
field_32104
f_167294_
private static final int
u
DEFAULT_SPAWN_PROTECTION
field_32105
field_32105
f_167295_
private static final boolean
v
DEFAULT_COMMAND_BLOCKS
field_32106
field_32106
f_167296_
private static final int
w
DEFAULT_DIFFICULTY
field_32107
DEFAULT_DIFFICULTY
f_167297_
private static final int
x
DEFAULT_GAME_MODE
field_32108
field_32108
f_167298_
private static final String
y
DEFAULT_SLOT_NAME
field_32109
DEFAULT_SLOT_NAME
f_167299_
private static final String
z
DEFAULT_VERSION
field_46845
field_46845
f_302703_
private static final RealmsServer$Compatibility
A
DEFAULT_COMPATIBILITY
field_46842
DEFAULT_COMPATIBILITY
f_302303_
private static final long
B
DEFAULT_TEMPLATE_ID
field_32110
DEFAULT_WORLD_TEMPLATE_ID
f_167300_
private static final String
C
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, String version, RealmsServer$Compatibility compatibility)

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()