Package com.mojang.realmsclient.dto
Class RealmsWorldOptions
java.lang.Object
com.mojang.realmsclient.dto.ValueObject
com.mojang.realmsclient.dto.RealmsWorldOptions
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
private static final boolean
private static final RealmsServer.Compatibility
private static final int
private static final boolean
private static final int
private static final boolean
private static final String
private static final boolean
private static final boolean
private static final boolean
private static final int
private static final long
private static final String
private static final String
final int
boolean
final boolean
final int
final boolean
private final String
final boolean
final boolean
final boolean
final int
long
final String
-
Constructor Summary
ConstructorDescriptionRealmsWorldOptions
(boolean p_167302_, boolean p_167303_, boolean p_167304_, boolean p_167305_, int p_167306_, boolean p_167307_, int p_167308_, int p_167309_, boolean p_167310_, String p_167311_, String p_311180_, RealmsServer.Compatibility p_311981_) -
Method Summary
Modifier and TypeMethodDescriptionclone()
static RealmsWorldOptions
static RealmsWorldOptions
getDefaultSlotName
(int p_87634_) getSlotName
(int p_87627_) static RealmsWorldOptions
parse
(com.google.gson.JsonObject p_87629_) void
setEmpty
(boolean p_87631_) toJson()
Methods inherited from class com.mojang.realmsclient.dto.ValueObject
toString
-
Field Details
-
pvp
public final boolean pvp -
spawnAnimals
public final boolean spawnAnimals -
spawnMonsters
public final boolean spawnMonsters -
spawnNPCs
public final boolean spawnNPCs -
spawnProtection
public final int spawnProtection -
commandBlocks
public final boolean commandBlocks -
forceGameMode
public final boolean forceGameMode -
difficulty
public final int difficulty -
gameMode
public final int gameMode -
slotName
-
version
-
compatibility
-
templateId
public long templateId -
templateImage
-
empty
public boolean empty -
DEFAULT_FORCE_GAME_MODE
private static final boolean DEFAULT_FORCE_GAME_MODE- See Also:
-
DEFAULT_PVP
private static final boolean DEFAULT_PVP- See Also:
-
DEFAULT_SPAWN_ANIMALS
private static final boolean DEFAULT_SPAWN_ANIMALS- See Also:
-
DEFAULT_SPAWN_MONSTERS
private static final boolean DEFAULT_SPAWN_MONSTERS- See Also:
-
DEFAULT_SPAWN_NPCS
private static final boolean DEFAULT_SPAWN_NPCS- See Also:
-
DEFAULT_SPAWN_PROTECTION
private static final int DEFAULT_SPAWN_PROTECTION- See Also:
-
DEFAULT_COMMAND_BLOCKS
private static final boolean DEFAULT_COMMAND_BLOCKS- See Also:
-
DEFAULT_DIFFICULTY
private static final int DEFAULT_DIFFICULTY- See Also:
-
DEFAULT_GAME_MODE
private static final int DEFAULT_GAME_MODE- See Also:
-
DEFAULT_SLOT_NAME
- See Also:
-
DEFAULT_VERSION
- See Also:
-
DEFAULT_COMPATIBILITY
-
DEFAULT_TEMPLATE_ID
private static final long DEFAULT_TEMPLATE_ID- See Also:
-
DEFAULT_TEMPLATE_IMAGE
-
-
Constructor Details
-
RealmsWorldOptions
public RealmsWorldOptions(boolean p_167302_, boolean p_167303_, boolean p_167304_, boolean p_167305_, int p_167306_, boolean p_167307_, int p_167308_, int p_167309_, boolean p_167310_, String p_167311_, String p_311180_, RealmsServer.Compatibility p_311981_)
-
-
Method Details