Contents
Class WorldConfig.ChunkConfig
java.lang.Object
com.hypixel.hytale.server.core.universe.world.WorldConfig.ChunkConfig
- Enclosing class:
WorldConfig
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetKeepLoadedRegion(Box2D keepLoadedRegion) Marks a region of chunks (in block coordinates) that once loaded will be prevented from being unloaded.voidsetPregenerateRegion(Box2D pregenerateRegion) Marks a region of chunks (in block coordinates) that will be pre-generated on the world's startup.
-
Field Details
-
CODEC
-
-
Constructor Details
-
ChunkConfig
public ChunkConfig()
-
-
Method Details
-
getPregenerateRegion
-
setPregenerateRegion
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
-
setKeepLoadedRegion
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.
-