Class ChunkStates
java.lang.Object
org.spongepowered.api.world.chunk.ChunkStates
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final DefaultedRegistryReference<ChunkState>static final DefaultedRegistryReference<ChunkState>AChunkthat is being "carved out" for general terrain features that require things like "caves" or "canyons".static final DefaultedRegistryReference<ChunkState>Identifies aChunkthat is considered empty.static final DefaultedRegistryReference<ChunkState>AChunkhas been carved out, and is now being decorated with features, such as leaves and tall grass.static final DefaultedRegistryReference<ChunkState>State for aChunkmarking it being used by a world, and not in the process of either world generation, or deserialization from storage.static final DefaultedRegistryReference<ChunkState>AChunkstate that is "cleaning" up remnant objects of a chunk in process of world generation.static final DefaultedRegistryReference<ChunkState>static final DefaultedRegistryReference<ChunkState>AChunkstate that is being "carved" with liquid cave features, such as underwater ravines, underwater caves, etc.static final DefaultedRegistryReference<ChunkState>AChunkwhere theblock statesare being set and structure locations are set.static final DefaultedRegistryReference<ChunkState>AChunkstate that is being used for entity spawning.static final DefaultedRegistryReference<ChunkState>AChunkwhere final validity checks are being performed on structures that are primed to be placed in the chunk.static final DefaultedRegistryReference<ChunkState>AChunkwhere the structures to be placed in the chunk are being determined and primed for placement.static final DefaultedRegistryReference<ChunkState>AChunkthat is at this state means that it is being generated with a "base" layer of terrain.
- 
Method Summary
- 
Field Details- 
BIOMES
- 
CARVERSAChunkthat is being "carved out" for general terrain features that require things like "caves" or "canyons".
- 
EMPTYIdentifies aChunkthat is considered empty. The methodChunk.isEmpty()would returntrue. Identifies the chunk has nothing contained within it, but can be used as a dummy chunk in some regards for world generation.
- 
FEATURESAChunkhas been carved out, and is now being decorated with features, such as leaves and tall grass.
- 
FULLState for aChunkmarking it being used by a world, and not in the process of either world generation, or deserialization from storage. OnlyWorldChunks should provide this state, otherChunks would be invalid with this state.
- 
HEIGHTMAPSAChunkstate that is "cleaning" up remnant objects of a chunk in process of world generation. Generally, height maps are being calculated at this point as entity spawning can affect block placement.
- 
LIGHT
- 
LIQUID_CARVERSAChunkstate that is being "carved" with liquid cave features, such as underwater ravines, underwater caves, etc.
- 
NOISEAChunkwhere theblock statesare being set and structure locations are set.
- 
SPAWNAChunkstate that is being used for entity spawning. Generally requires that the neighboring chunks are adequately populated, and requires that this chunk has proper lighting, for mob placement logic.
- 
STRUCTURE_REFERENCESAChunkwhere final validity checks are being performed on structures that are primed to be placed in the chunk.
- 
STRUCTURE_STARTSAChunkwhere the structures to be placed in the chunk are being determined and primed for placement.
- 
SURFACEAChunkthat is at this state means that it is being generated with a "base" layer of terrain.The chunk should not have any Entityinstances orBlockEntityinstances and may have a validWorldLikeused for world generation.
 
- 
- 
Method Details- 
registry
 
-