Class SlimeProperties
java.lang.Object
com.infernalsuite.asp.api.world.properties.SlimeProperties
Class with all existing slime world properties.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SlimePropertyBoolean
Whether peaceful animals are allowed to spawnstatic final SlimePropertyBoolean
Whether monsters are allowed to spawn at night or in the darkstatic final SlimePropertyString
static final SlimePropertyInt
static final SlimePropertyInt
static final SlimePropertyString
The default biome generated in empty chunksstatic final SlimePropertyString
The difficulty set for the worldstatic final SlimePropertyBoolean
Whether the dragon battle should be enabled in end worldsstatic final SlimePropertyString
The environment of the worldstatic final SlimePropertyBoolean
Whether PVP combat is allowedstatic final SlimePropertyBoolean
Whether to save the block ticks in the world or not.static final SlimePropertyBoolean
Whether to save the fluid ticks in the world or not.static final SlimePropertyInt
static final SlimePropertyInt
static final SlimePropertyInt
static final SlimePropertyInt
static final SlimePropertyBoolean
Whether to save the POI data in the world or not.static final SlimePropertyInt
The sea level to use for the slime world.static final SlimePropertyBoolean
static final SlimePropertyInt
The X coordinate of the world spawnstatic final SlimePropertyInt
The Y coordinate of the world spawnstatic final SlimePropertyFloat
The yaw of the world spawnstatic final SlimePropertyInt
The Z coordinate of the world spawnstatic final SlimePropertyString
The type of world -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SPAWN_X
The X coordinate of the world spawn -
SPAWN_Y
The Y coordinate of the world spawn -
SPAWN_Z
The Z coordinate of the world spawn -
SPAWN_YAW
The yaw of the world spawn -
DIFFICULTY
The difficulty set for the world -
ALLOW_MONSTERS
Whether monsters are allowed to spawn at night or in the dark -
ALLOW_ANIMALS
Whether peaceful animals are allowed to spawn -
DRAGON_BATTLE
Whether the dragon battle should be enabled in end worlds -
PVP
Whether PVP combat is allowed -
ENVIRONMENT
The environment of the world -
WORLD_TYPE
The type of world -
DEFAULT_BIOME
The default biome generated in empty chunks -
SHOULD_LIMIT_SAVE
-
SAVE_MIN_X
-
SAVE_MIN_Z
-
SAVE_MAX_X
-
SAVE_MAX_Z
-
CHUNK_PRUNING
-
CHUNK_SECTION_MIN
-
CHUNK_SECTION_MAX
-
SEA_LEVEL
The sea level to use for the slime world. This affects mob spawning for water specific mobs like squids or turtles. To achieve the default vanilla behaviour, change this value to 63 instead of the default of -63. -
SAVE_POI
Whether to save the POI data in the world or not. Worlds that already have POI data will still load the data even if this is set to false. However, the POI data will no longer be saved when the world is saved.POI data is e.g. used for villager jobs, villager beds, bees, lightning rods. This data is not saved in slime by default.
-
SAVE_BLOCK_TICKS
Whether to save the block ticks in the world or not. Worlds that already have block tick data will still load the data even if this is set to false. However, the block tick data will no longer be saved when the world is saved.Block ticks are used for scheduling e.g. redstone updates. If this data is not saved, redstone will pause when chunks or worlds get re-loaded.
-
SAVE_FLUID_TICKS
Whether to save the fluid ticks in the world or not. Worlds that already have fluid tick data will still load the data even if this is set to false. However, the fluid tick data will no longer be saved when the world is saved.Fluid ticks are used for scheduling liquid flow updates. If this data is not saved, fluids will freeze when chunks or worlds get re-loaded.
-
-
Constructor Details
-
SlimeProperties
public SlimeProperties()
-