Class WorldConfig.ChunkConfig

java.lang.Object
com.hypixel.hytale.server.core.universe.world.WorldConfig.ChunkConfig
Enclosing class:
WorldConfig

public static class WorldConfig.ChunkConfig extends Object
  • Field Details

  • Constructor Details

    • ChunkConfig

      public ChunkConfig()
  • Method Details

    • getPregenerateRegion

      @Nullable public Box2D getPregenerateRegion()
    • setPregenerateRegion

      public void setPregenerateRegion(@Nullable Box2D pregenerateRegion)
      Marks a region of chunks (in block coordinates) that will be pre-generated on the world's startup.
      Parameters:
      pregenerateRegion - The region of chunks (in block coordinates) to pre-generate on the world's startup.
    • getKeepLoadedRegion

      @Nullable public Box2D getKeepLoadedRegion()
    • setKeepLoadedRegion

      public void setKeepLoadedRegion(@Nullable Box2D keepLoadedRegion)
      Marks a region of chunks (in block coordinates) that once loaded will be prevented from being unloaded.
      Parameters:
      keepLoadedRegion - The region of chunks (in block coordinates) to keep loaded.