Class SlimeProperties

java.lang.Object
com.infernalsuite.asp.api.world.properties.SlimeProperties

public class SlimeProperties extends Object
Class with all existing slime world properties.
  • Field Details

    • SPAWN_X

      public static final SlimePropertyInt SPAWN_X
      The X coordinate of the world spawn
    • SPAWN_Y

      public static final SlimePropertyInt SPAWN_Y
      The Y coordinate of the world spawn
    • SPAWN_Z

      public static final SlimePropertyInt SPAWN_Z
      The Z coordinate of the world spawn
    • SPAWN_YAW

      public static final SlimePropertyFloat SPAWN_YAW
      The yaw of the world spawn
    • DIFFICULTY

      public static final SlimePropertyString DIFFICULTY
      The difficulty set for the world
    • ALLOW_MONSTERS

      public static final SlimePropertyBoolean ALLOW_MONSTERS
      Whether monsters are allowed to spawn at night or in the dark
    • ALLOW_ANIMALS

      public static final SlimePropertyBoolean ALLOW_ANIMALS
      Whether peaceful animals are allowed to spawn
    • DRAGON_BATTLE

      public static final SlimePropertyBoolean DRAGON_BATTLE
      Whether the dragon battle should be enabled in end worlds
    • PVP

      public static final SlimePropertyBoolean PVP
      Whether PVP combat is allowed
    • ENVIRONMENT

      public static final SlimePropertyString ENVIRONMENT
      The environment of the world
    • WORLD_TYPE

      public static final SlimePropertyString WORLD_TYPE
      The type of world
    • DEFAULT_BIOME

      public static final SlimePropertyString DEFAULT_BIOME
      The default biome generated in empty chunks
    • SHOULD_LIMIT_SAVE

      @Experimental public static final SlimePropertyBoolean SHOULD_LIMIT_SAVE
    • SAVE_MIN_X

      @Experimental public static final SlimePropertyInt SAVE_MIN_X
    • SAVE_MIN_Z

      @Experimental public static final SlimePropertyInt SAVE_MIN_Z
    • SAVE_MAX_X

      @Experimental public static final SlimePropertyInt SAVE_MAX_X
    • SAVE_MAX_Z

      @Experimental public static final SlimePropertyInt SAVE_MAX_Z
    • CHUNK_PRUNING

      @Experimental public static final SlimePropertyString CHUNK_PRUNING
    • CHUNK_SECTION_MIN

      @Experimental public static final SlimePropertyInt CHUNK_SECTION_MIN
    • CHUNK_SECTION_MAX

      @Experimental public static final SlimePropertyInt CHUNK_SECTION_MAX
    • SEA_LEVEL

      @Experimental public static final SlimePropertyInt 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

      public static final SlimePropertyBoolean 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

      public static final SlimePropertyBoolean 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

      public static final SlimePropertyBoolean 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()