Skip to main content

Module structure

Module structure 

Source
Expand description

Core chunk adapter for the worldgen structure engine.

Modules§

piece_placer 🔒
Feature-stage structure piece placement boundary.

Structs§

FixedStructureBiomeProvider
Fixed-biome provider used by flat generation settings.
StructureGenerator
Runtime equivalent of vanilla’s ChunkGeneratorStructureState plus structure implementation dispatch.
StructureLocateCandidate
Candidate chunk and locate position for a structure search.
StructureLocatePlan
Search plan for vanilla /locate structure queries.

Functions§

create_structures
Generates structure starts and writes them into the chunk.
squared_distance
Squared block distance using vanilla’s three-dimensional BlockPos.distSqr.