public class RealmsWorldOptions extends ValueObject
Modifier and Type | Field and Description |
---|---|
boolean |
adventureMap |
private static boolean |
adventureMapDefault |
java.lang.Boolean |
commandBlocks |
private static boolean |
commandBlocksDefault |
java.lang.Integer |
difficulty |
private static int |
difficultyDefault |
boolean |
empty |
java.lang.Boolean |
forceGameMode |
private static boolean |
forceGameModeDefault |
java.lang.Integer |
gameMode |
private static int |
gameModeDefault |
java.lang.Boolean |
pvp |
private static boolean |
pvpDefault |
java.lang.String |
slotName |
private static java.lang.String |
slotNameDefault |
java.lang.Boolean |
spawnAnimals |
private static boolean |
spawnAnimalsDefault |
java.lang.Boolean |
spawnMonsters |
private static boolean |
spawnMonstersDefault |
java.lang.Boolean |
spawnNPCs |
private static boolean |
spawnNPCsDefault |
java.lang.Integer |
spawnProtection |
private static int |
spawnProtectionDefault |
long |
templateId |
private static long |
templateIdDefault |
java.lang.String |
templateImage |
private static java.lang.String |
templateImageDefault |
Constructor and Description |
---|
RealmsWorldOptions(java.lang.Boolean atlasTexturesIn,
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_) |
Modifier and Type | Method and Description |
---|---|
RealmsWorldOptions |
clone() |
static RealmsWorldOptions |
getDefaults() |
java.lang.String |
getDefaultSlotName(int p_getDefaultSlotName_1_) |
static RealmsWorldOptions |
getEmptyDefaults() |
java.lang.String |
getSlotName(int p_getSlotName_1_) |
static RealmsWorldOptions |
parse(com.google.gson.JsonObject p_parse_0_) |
void |
setEmpty(boolean p_setEmpty_1_) |
java.lang.String |
toJson() |
toString
public java.lang.Boolean pvp
public java.lang.Boolean spawnAnimals
public java.lang.Boolean spawnMonsters
public java.lang.Boolean spawnNPCs
public java.lang.Integer spawnProtection
public java.lang.Boolean commandBlocks
public java.lang.Boolean forceGameMode
public java.lang.Integer difficulty
public java.lang.Integer gameMode
public java.lang.String slotName
public long templateId
public java.lang.String templateImage
public boolean adventureMap
public boolean empty
private static final boolean forceGameModeDefault
private static final boolean pvpDefault
private static final boolean spawnAnimalsDefault
private static final boolean spawnMonstersDefault
private static final boolean spawnNPCsDefault
private static final int spawnProtectionDefault
private static final boolean commandBlocksDefault
private static final int difficultyDefault
private static final int gameModeDefault
private static final java.lang.String slotNameDefault
private static final long templateIdDefault
private static final java.lang.String templateImageDefault
private static final boolean adventureMapDefault
public RealmsWorldOptions(java.lang.Boolean atlasTexturesIn, 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_)
public static RealmsWorldOptions getDefaults()
public static RealmsWorldOptions getEmptyDefaults()
public void setEmpty(boolean p_setEmpty_1_)
public static RealmsWorldOptions parse(com.google.gson.JsonObject p_parse_0_)
public java.lang.String getSlotName(int p_getSlotName_1_)
public java.lang.String getDefaultSlotName(int p_getDefaultSlotName_1_)
public java.lang.String toJson()
public RealmsWorldOptions clone()
clone
in class java.lang.Object