com.mojang.realmsclient.dto

public class RealmsWorldOptions

extends ValueObject

fip
com.mojang.realmsclient.dto.RealmsWorldOptions
net.minecraft.class_4883
net.minecraft.client.realms.dto.RealmsWorldOptions

Field summary

Modifier and TypeField
public final boolean
a
pvp
field_22632
pvp
public final boolean
b
spawnMonsters
field_22634
spawnMonsters
public final int
c
spawnProtection
field_22636
spawnProtection
public final boolean
d
commandBlocks
field_22637
commandBlocks
public final boolean
e
forceGameMode
field_22638
forceGameMode
public final int
f
difficulty
field_22639
difficulty
public final int
g
gameMode
field_22640
gameMode
public final boolean
h
hardcore
field_54384
hardcore
private final String
n
slotName
field_22641
slotName
public final String
i
version
field_46843
version
public final RealmsServer$Compatibility
j
compatibility
field_46844
compatibility
public long
k
templateId
field_22642
templateId
public String
l
templateImage
field_22643
templateImage
public boolean
m
empty
field_22645
empty
private static final boolean
o
DEFAULT_FORCE_GAME_MODE
field_32100
field_32100
private static final boolean
p
DEFAULT_PVP
field_32101
field_32101
private static final boolean
q
DEFAULT_SPAWN_MONSTERS
field_32103
field_32103
private static final int
r
DEFAULT_SPAWN_PROTECTION
field_32105
field_32105
private static final boolean
s
DEFAULT_COMMAND_BLOCKS
field_32106
field_32106
private static final int
t
DEFAULT_DIFFICULTY
field_32107
DEFAULT_DIFFICULTY
private static final int
u
DEFAULT_GAME_MODE
field_32108
field_32108
private static final boolean
v
DEFAULT_HARDCORE_MODE
field_54385
field_54385
private static final String
w
DEFAULT_SLOT_NAME
field_32109
DEFAULT_SLOT_NAME
private static final String
x
DEFAULT_VERSION
field_46845
field_46845
private static final RealmsServer$Compatibility
y
DEFAULT_COMPATIBILITY
field_46842
DEFAULT_COMPATIBILITY
private static final long
z
DEFAULT_TEMPLATE_ID
field_32110
DEFAULT_WORLD_TEMPLATE_ID
private static final String
A
DEFAULT_TEMPLATE_IMAGE
field_22646
DEFAULT_WORLD_TEMPLATE_IMAGE

Constructor summary

ModifierConstructor
public (boolean pvp, boolean spawnAnimals, int spawnProtection, boolean commandBlocks, int difficulty, int gameMode, boolean hardcore, boolean forceGameMode, String slotName, String version, RealmsServer$Compatibility compatibility)

Method summary

Modifier and TypeMethod
public static RealmsWorldOptions
a()
createDefaults()
method_25076()
getDefaults()
public static RealmsWorldOptions
a(dhf arg0, btg arg1, boolean arg2, String arg3, String arg4)
createDefaultsWith(GameType arg0, Difficulty arg1, boolean arg2, String arg3, String arg4)
method_64352(class_1934 arg0, class_1267 arg1, boolean arg2, String arg3, String arg4)
create(GameMode gameMode, Difficulty difficulty, boolean hardcore, String version, String slotName)
public static RealmsWorldOptions
a(dhm arg0, String arg1)
createFromSettings(LevelSettings arg0, String arg1)
method_64353(class_1940 arg0, String arg1)
create(LevelInfo levelInfo, String version)
public static RealmsWorldOptions
b()
createEmptyDefaults()
method_25080()
getEmptyDefaults()
public void
a(boolean arg0)
setEmpty(boolean arg0)
method_25079(boolean arg0)
setEmpty(boolean empty)
public static RealmsWorldOptions
a(com.google.gson.JsonObject arg0, fin arg1)
parse(com.google.gson.JsonObject arg0, RealmsSettings arg1)
method_25078(com.google.gson.JsonObject arg0, class_10327 arg1)
parse(com.google.gson.JsonObject json, RealmsWorldSettings settings)
public String
a(int arg0)
getSlotName(int arg0)
method_25077(int arg0)
getSlotName(int index)
public String
b(int arg0)
getDefaultSlotName(int arg0)
method_25081(int arg0)
getDefaultSlotName(int index)
public String
c()
toJson()
method_25082()
toJson()
public RealmsWorldOptions
d()
clone()
method_25083()
clone()