com.mojang.realmsclient.dto

public class RealmsWorldOptions

extends ValueObject

com.mojang.realmsclient.dto.RealmsWorldOptions
com.mojang.realmsclient.dto.RealmsWorldOptions
com.mojang.realmsclient.dto.RealmsWorldOptions
com.mojang.realmsclient.dto.RealmsWorldOptions
com.mojang.realmsclient.dto.RealmsWorldOptions

Field summary

Modifier and TypeField
public Boolean
pvp
pvp
pvp
pvp
public Boolean
spawnAnimals
spawnAnimals
spawnAnimals
spawnAnimals
public Boolean
spawnMonsters
spawnMonsters
spawnMonsters
spawnMonsters
public Boolean
spawnNPCs
spawnNPCs
spawnNPCs
spawnNPCs
public Integer
spawnProtection
spawnProtection
spawnProtection
spawnProtection
public Boolean
commandBlocks
commandBlocks
commandBlocks
commandBlocks
public Boolean
forceGameMode
forceGameMode
forceGameMode
forceGameMode
public Integer
difficulty
difficulty
difficulty
difficulty
public Integer
gameMode
gameMode
gameMode
gameMode
public String
slotName
slotName
slotName
slotName
public long
templateId
templateId
templateId
templateId
public String
templateImage
templateImage
templateImage
templateImage
public boolean
adventureMap
adventureMap
adventureMap
adventureMap
public boolean
empty
empty
empty
empty
private static final boolean
forceGameModeDefault
forceGameModeDefault
forceGameModeDefault
forceGameModeDefault
private static final boolean
pvpDefault
pvpDefault
pvpDefault
pvpDefault
private static final boolean
spawnAnimalsDefault
spawnAnimalsDefault
spawnAnimalsDefault
spawnAnimalsDefault
private static final boolean
spawnMonstersDefault
spawnMonstersDefault
spawnMonstersDefault
spawnMonstersDefault
private static final boolean
spawnNPCsDefault
spawnNPCsDefault
spawnNPCsDefault
spawnNPCsDefault
private static final int
spawnProtectionDefault
spawnProtectionDefault
spawnProtectionDefault
spawnProtectionDefault
private static final boolean
commandBlocksDefault
commandBlocksDefault
commandBlocksDefault
commandBlocksDefault
private static final int
difficultyDefault
difficultyDefault
difficultyDefault
difficultyDefault
private static final int
gameModeDefault
gameModeDefault
gameModeDefault
gameModeDefault
private static final String
slotNameDefault
slotNameDefault
slotNameDefault
slotNameDefault
private static final long
templateIdDefault
templateIdDefault
templateIdDefault
templateIdDefault
private static final String
templateImageDefault
templateImageDefault
templateImageDefault
templateImageDefault
private static final boolean
adventureMapDefault
adventureMapDefault
adventureMapDefault
adventureMapDefault

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
getDefaults()
getDefaults()
getDefaults()
getDefaults()
public static RealmsWorldOptions
getEmptyDefaults()
getEmptyDefaults()
getEmptyDefaults()
getEmptyDefaults()
public void
setEmpty(boolean arg0)
setEmpty(boolean arg0)
setEmpty(boolean arg0)
setEmpty(boolean empty)
setEmpty(boolean arg0)
public static RealmsWorldOptions
parse(com.google.gson.JsonObject arg0)
parse(com.google.gson.JsonObject arg0)
parse(com.google.gson.JsonObject arg0)
parse(com.google.gson.JsonObject jsonObject)
parse(com.google.gson.JsonObject arg0)
public String
getSlotName(int arg0)
getSlotName(int arg0)
getSlotName(int arg0)
getSlotName(int i)
getSlotName(int arg0)
public String
getDefaultSlotName(int arg0)
getDefaultSlotName(int arg0)
getDefaultSlotName(int arg0)
getDefaultSlotName(int i)
getDefaultSlotName(int arg0)
public String
toJson()
toJson()
toJson()
toJson()
public RealmsWorldOptions
clone()
clone()
clone()
clone()
clone()