Package com.mojang.realmsclient.dto
Class RealmsWorldOptions
- java.lang.Object
-
- com.mojang.realmsclient.dto.ValueObject
-
- com.mojang.realmsclient.dto.RealmsWorldOptions
-
public class RealmsWorldOptions extends ValueObject
-
-
Field Summary
Fields Modifier and Type Field Description boolean
adventureMap
java.lang.Boolean
commandBlocks
private static java.lang.String
DEFAULT_TEMPLATE_IMAGE
java.lang.Integer
difficulty
boolean
empty
java.lang.Boolean
forceGameMode
java.lang.Integer
gameMode
java.lang.Boolean
pvp
java.lang.String
slotName
java.lang.Boolean
spawnAnimals
java.lang.Boolean
spawnMonsters
java.lang.Boolean
spawnNPCs
java.lang.Integer
spawnProtection
long
templateId
java.lang.String
templateImage
-
Constructor Summary
Constructors Constructor Description RealmsWorldOptions(java.lang.Boolean p_i51651_1_, java.lang.Boolean p_i51651_2_, java.lang.Boolean p_i51651_3_, java.lang.Boolean p_i51651_4_, java.lang.Integer p_i51651_5_, java.lang.Boolean p_i51651_6_, java.lang.Integer p_i51651_7_, java.lang.Integer p_i51651_8_, java.lang.Boolean p_i51651_9_, java.lang.String p_i51651_10_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RealmsWorldOptions
clone()
static RealmsWorldOptions
createDefaults()
static RealmsWorldOptions
createEmptyDefaults()
java.lang.String
getDefaultSlotName(int p_230790_1_)
java.lang.String
getSlotName(int p_230787_1_)
static RealmsWorldOptions
parse(com.google.gson.JsonObject p_230788_0_)
void
setEmpty(boolean p_230789_1_)
java.lang.String
toJson()
-
Methods inherited from class com.mojang.realmsclient.dto.ValueObject
toString
-
-
-
-
Field Detail
-
pvp
public java.lang.Boolean pvp
-
spawnAnimals
public java.lang.Boolean spawnAnimals
-
spawnMonsters
public java.lang.Boolean spawnMonsters
-
spawnNPCs
public java.lang.Boolean spawnNPCs
-
spawnProtection
public java.lang.Integer spawnProtection
-
commandBlocks
public java.lang.Boolean commandBlocks
-
forceGameMode
public java.lang.Boolean forceGameMode
-
difficulty
public java.lang.Integer difficulty
-
gameMode
public java.lang.Integer gameMode
-
slotName
public java.lang.String slotName
-
templateId
public long templateId
-
templateImage
public java.lang.String templateImage
-
adventureMap
public boolean adventureMap
-
empty
public boolean empty
-
DEFAULT_TEMPLATE_IMAGE
private static final java.lang.String DEFAULT_TEMPLATE_IMAGE
-
-
Constructor Detail
-
RealmsWorldOptions
public RealmsWorldOptions(java.lang.Boolean p_i51651_1_, java.lang.Boolean p_i51651_2_, java.lang.Boolean p_i51651_3_, java.lang.Boolean p_i51651_4_, java.lang.Integer p_i51651_5_, java.lang.Boolean p_i51651_6_, java.lang.Integer p_i51651_7_, java.lang.Integer p_i51651_8_, java.lang.Boolean p_i51651_9_, java.lang.String p_i51651_10_)
-
-
Method Detail
-
createDefaults
public static RealmsWorldOptions createDefaults()
-
createEmptyDefaults
public static RealmsWorldOptions createEmptyDefaults()
-
setEmpty
public void setEmpty(boolean p_230789_1_)
-
parse
public static RealmsWorldOptions parse(com.google.gson.JsonObject p_230788_0_)
-
getSlotName
public java.lang.String getSlotName(int p_230787_1_)
-
getDefaultSlotName
public java.lang.String getDefaultSlotName(int p_230790_1_)
-
toJson
public java.lang.String toJson()
-
clone
public RealmsWorldOptions clone()
- Overrides:
clone
in classjava.lang.Object
-
-