com.mojang.realmsclient.dto

public class RealmsWorldOptions

extends ValueObject

div
com.mojang.realmsclient.dto.RealmsWorldOptions
net.minecraft.class_4883
com.mojang.realmsclient.dto.RealmsWorldOptions
com.mojang.realmsclient.dto.RealmsWorldOptions

Field summary

Modifier and TypeField
public Boolean
a
pvp
field_22632
pvp
field_230614_a_
public Boolean
b
spawnAnimals
field_22633
spawnAnimals
field_230615_b_
public Boolean
c
spawnMonsters
field_22634
spawnMonsters
field_230616_c_
public Boolean
d
spawnNPCs
field_22635
spawnNPCs
field_230617_d_
public Integer
e
spawnProtection
field_22636
spawnProtection
field_230618_e_
public Boolean
f
commandBlocks
field_22637
commandBlocks
field_230619_f_
public Boolean
g
forceGameMode
field_22638
forceGameMode
field_230620_g_
public Integer
h
difficulty
field_22639
difficulty
field_230621_h_
public Integer
i
gameMode
field_22640
gameMode
field_230622_i_
public String
j
slotName
field_22641
slotName
field_230623_j_
public long
k
templateId
field_22642
templateId
field_230624_k_
public String
l
templateImage
field_22643
templateImage
field_230625_l_
public boolean
m
adventureMap
field_22644
adventureMap
field_230626_m_
public boolean
n
empty
field_22645
empty
field_230627_n_
private static final String
o
DEFAULT_TEMPLATE_IMAGE
field_22646
DEFAULT_WORLD_TEMPLATE_IMAGE
field_237699_o_

Constructor summary

ModifierConstructor
public (Boolean pvp, Boolean spawnAnimals, Boolean spawnMonsters, Boolean spawnNPCs, Integer spawnProtection, Boolean commandBlocks, Integer difficulty, Integer gameMode, Boolean forceGameMode, String slotName)

Method summary

Modifier and TypeMethod
public static RealmsWorldOptions
a()
createDefaults()
method_25076()
getDefaults()
func_237700_a_()
public static RealmsWorldOptions
b()
createEmptyDefaults()
method_25080()
getEmptyDefaults()
func_237701_b_()
public void
a(boolean arg0)
setEmpty(boolean arg0)
method_25079(boolean arg0)
setEmpty(boolean empty)
func_230789_a_(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)
func_230788_a_(com.google.gson.JsonObject arg0)
public String
a(int arg0)
getSlotName(int arg0)
method_25077(int arg0)
getSlotName(int index)
func_230787_a_(int arg0)
public String
b(int arg0)
getDefaultSlotName(int arg0)
method_25081(int arg0)
getDefaultSlotName(int index)
func_230790_b_(int arg0)
public String
c()
toJson()
method_25082()
toJson()
func_230791_c_()
public RealmsWorldOptions
d()
clone()
method_25083()
clone()
clone()