Package org.spongepowered.api.world
Class ChunkRegenerateFlags
java.lang.Object
org.spongepowered.api.world.ChunkRegenerateFlags
An enumeration of the possible
ChunkRegenerateFlag
s.
ChunkRegenerateFlag
s can be combined using the
ChunkRegenerateFlag.andFlag(ChunkRegenerateFlag)
and
ChunkRegenerateFlag.andNotFlag(ChunkRegenerateFlag)
operators.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultedRegistryReference<ChunkRegenerateFlag>
All the available flags are applied through the AND operator.static final DefaultedRegistryReference<ChunkRegenerateFlag>
A flag that defines whether a chunk should be created.static final DefaultedRegistryReference<ChunkRegenerateFlag>
A flag that defines whether a chunk should preserve entities.static final DefaultedRegistryReference<ChunkRegenerateFlag>
No flags are set, triggers nothing. -
Method Summary
-
Field Details
-
ALL
All the available flags are applied through the AND operator. -
CREATE
A flag that defines whether a chunk should be created. -
ENTITIES
A flag that defines whether a chunk should preserve entities. Note: It is up to the implementation to decide whether this will include moving entities to safe locations. -
NONE
No flags are set, triggers nothing.
-
-
Method Details
-
registry
-