Package com.mojang.realmsclient.dto
Class RealmsWorldOptions
java.lang.Object
com.mojang.realmsclient.dto.ValueObject
com.mojang.realmsclient.dto.RealmsWorldOptions
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanprivate static booleanprivate static intprivate static booleanprivate static intprivate static booleanprivate static Stringprivate static booleanprivate static booleanprivate static booleanprivate static intprivate static longprivate static Stringintbooleanbooleanintbooleanprivate Stringbooleanbooleanbooleanintlong -
Constructor Summary
ConstructorsConstructorDescriptionRealmsWorldOptions(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 RealmsWorldOptionsstatic RealmsWorldOptionsgetDefaultSlotName(int p_87634_)getSlotName(int p_87627_)static RealmsWorldOptionsparse(com.google.gson.JsonObject p_87629_)voidsetEmpty(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