Skip to main content

Module region

Module region 

Source
Expand description

Region access for chunk feature generation.

Feature placement needs the center chunk plus its direct dependencies, while writes must stay inside the stage’s block-state write radius. WorldGenRegion centralizes that contract so feature, structure, and vegetation code cannot bypass the chunk pyramid.

StructsΒ§

CachedWorldGenChunk πŸ”’
CachedWorldgenHeightmaps πŸ”’
WorldGenBulkSectionAccess πŸ”’
Cached section-level access for feature code that mirrors vanilla BulkSectionAccess.
WorldGenChunkRef πŸ”’
A generation dependency with access semantics captured when it was acquired.
WorldGenRegion
Chunk-cache backed worldgen view for the current generation step.
WritableSectionKey πŸ”’

EnumsΒ§

WorldGenAccessMode πŸ”’
The access mode is captured when a generation dependency is acquired.

FunctionsΒ§

abs_diff πŸ”’