Package com.mojang.realmsclient.dto
Class RealmsWorldOptions
java.lang.Object
com.mojang.realmsclient.dto.ValueObject
com.mojang.realmsclient.dto.RealmsWorldOptions
-
Field Summary
Modifier and TypeFieldDescriptionboolean
private static boolean
private static int
private static boolean
private static int
private static boolean
private static String
private static boolean
private static boolean
private static boolean
private static int
private static long
private static String
int
boolean
boolean
int
boolean
private String
boolean
boolean
boolean
int
long
-
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_)
-
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
-
templateId
public long templateId -
templateImage
-
empty
public boolean empty -
DEFAULT_FORCE_GAME_MODE
private static final boolean DEFAULT_FORCE_GAME_MODE- See Also:
- Constant Field Values
-
DEFAULT_PVP
private static final boolean DEFAULT_PVP- See Also:
- Constant Field Values
-
DEFAULT_SPAWN_ANIMALS
private static final boolean DEFAULT_SPAWN_ANIMALS- See Also:
- Constant Field Values
-
DEFAULT_SPAWN_MONSTERS
private static final boolean DEFAULT_SPAWN_MONSTERS- See Also:
- Constant Field Values
-
DEFAULT_SPAWN_NPCS
private static final boolean DEFAULT_SPAWN_NPCS- See Also:
- Constant Field Values
-
DEFAULT_SPAWN_PROTECTION
private static final int DEFAULT_SPAWN_PROTECTION- See Also:
- Constant Field Values
-
DEFAULT_COMMAND_BLOCKS
private static final boolean DEFAULT_COMMAND_BLOCKS- See Also:
- Constant Field Values
-
DEFAULT_DIFFICULTY
private static final int DEFAULT_DIFFICULTY- See Also:
- Constant Field Values
-
DEFAULT_GAME_MODE
private static final int DEFAULT_GAME_MODE- See Also:
- Constant Field Values
-
DEFAULT_SLOT_NAME
- See Also:
- Constant Field Values
-
DEFAULT_TEMPLATE_ID
private static final long DEFAULT_TEMPLATE_ID- See Also:
- Constant Field Values
-
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_, @Nullable String p_167311_)
-
-
Method Details