Expand description
Structure placement. Determines which chunks are valid for structure
generation — vanilla’s StructurePlacement hierarchy.
Structs§
- Exclusion
Zone - Vanilla’s
StructurePlacement.ExclusionZone. - Structure
Placement - Structure placement configuration.
- Structure
Selection Entry - A weighted entry in a structure set.
- Structure
Set - Vanilla’s
StructureSet: weighted structures + one placement.
Enums§
- Frequency
Reduction Method - Vanilla’s
StructurePlacement.FrequencyReductionMethod. Variants differ in seeding/RNG strategy for historical compatibility. - Placement
Kind - Kind-specific placement parameters.
- Spread
Type - How structures are spread within their grid cell. Vanilla’s
RandomSpreadType.
Constants§
Functions§
- convert_
structure_ 🔒set - generate_
ring_ positions - Vanilla’s
ChunkGeneratorStructureState.generateRingPositions. Positions in chunk coords. Ifsnap_biomeis provided it gets(block_x, block_z, &mut rng)and returnsSome((snapped_block_x, snapped_block_z))to snap, orNoneto keep raw. - java_
round 🔒 - Java’s
Math.round(double)— half-up toward +∞. Rust’sf64::round()rounds -0.5 → -1; Java rounds -0.5 → 0. - load_
vanilla_ structure_ sets - Loads all vanilla structure sets from the generated registry data.