Package org.spongepowered.api.world
Class ChunkRegenerateFlags
- java.lang.Object
-
- org.spongepowered.api.world.ChunkRegenerateFlags
-
public final class ChunkRegenerateFlags extends java.lang.Object
An enumeration of the possibleChunkRegenerateFlag
s.ChunkRegenerateFlag
s can be combined using theChunkRegenerateFlag.andFlag(ChunkRegenerateFlag)
andChunkRegenerateFlag.andNotFlag(ChunkRegenerateFlag)
operators.
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultedRegistryReference<ChunkRegenerateFlag>
ALL
All the available flags are applied through the AND operator.static DefaultedRegistryReference<ChunkRegenerateFlag>
CREATE
A flag that defines whether a chunk should be created.static DefaultedRegistryReference<ChunkRegenerateFlag>
ENTITIES
A flag that defines whether a chunk should preserve entities.static DefaultedRegistryReference<ChunkRegenerateFlag>
NONE
No flags are set, triggers nothing.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Registry<ChunkRegenerateFlag>
registry()
-
-
-
Field Detail
-
ALL
public static final DefaultedRegistryReference<ChunkRegenerateFlag> ALL
All the available flags are applied through the AND operator.
-
CREATE
public static final DefaultedRegistryReference<ChunkRegenerateFlag> CREATE
A flag that defines whether a chunk should be created.
-
ENTITIES
public static final DefaultedRegistryReference<ChunkRegenerateFlag> 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
public static final DefaultedRegistryReference<ChunkRegenerateFlag> NONE
No flags are set, triggers nothing.
-
-
Method Detail
-
registry
public static Registry<ChunkRegenerateFlag> registry()
-
-