Skip to main content

Module worldgen

Module worldgen 

Source
Expand description

World generation module.

This module provides the integration between extracted vanilla worldgen data and the world generation pipeline.

Re-exportsยง

pub use generator::context::ChunkGeneratorType;
pub use generator::context::EndGenerator;
pub use generator::context::NetherGenerator;
pub use generator::context::OverworldGenerator;
pub use generator::context::WorldGenContext;
pub use generator::registry::GeneratorOutput;
pub use generator::registry::WorldGeneratorRegistry;
pub use generator::ChunkGenerator;
pub use generator::EmptyChunkGenerator;
pub use generator::FlatChunkGenerator;
pub use generator::VanillaGenerator;
pub use region::WorldGenRegion;

Modulesยง

carver
World-carving: runtime context + carver implementations. World-carving: runtime types for running configured carvers during the CARVERS chunk stage.
carving_mask
Compatibility path for the per-chunk carving bitset.
context
Compatibility path for generator context types.
feature ๐Ÿ”’
Biome decoration runner for the FEATURES chunk stage.
generator
This module contains the ChunkGenerator trait, which is used to generate chunks.
generators
Compatibility path for concrete generator implementations.
region
Region access for chunk feature generation.
registry
Compatibility path for generator factory types.
stages ๐Ÿ”’
Chunk status stage entry points for world generation.
structure ๐Ÿ”’
Core chunk adapter for the worldgen structure engine.
surface
Surface system for biome-specific block placement.
template ๐Ÿ”’

Structsยง

EndIslands
End islands density function.
OverworldColumnCache
Column-level cache for flat-cached (xz-only) density function results.