Skip to main content

Module generator

Module generator 

Source
Expand description

This module contains the ChunkGenerator trait, which is used to generate chunks.

Re-exports§

pub use vanilla::VanillaGenerator;
pub use vanilla::VanillaPostNoiseStateType;

Modules§

context
This module contains the WorldGenContext struct, which is used to provide context for chunk generation.
empty 🔒
flat 🔒
generation_benchmark_support
Direct generator calls used by Criterion benchmarks.
generation_chunk 🔒
registry
Runtime registry for world generator factories.
surface_biomes 🔒
fuzzed biome lookup for the surface stage
vanilla 🔒

Structs§

EmptyChunkGenerator
A chunk generator that generates an empty world.
FlatChunkGenerator
A chunk generator that generates a flat world.
GenerationChunk
Stage-scoped access to the center chunk being generated.
VanillaGenerator
A chunk generator for vanilla (normal) world generation.

Enums§

TerrainPhase
Marker for vanilla’s atomic Terrain generation operation.

Traits§

ChunkGenerator
A trait for generating chunks.
VanillaPostNoiseStateType
Associates a dimension’s statically typed Aquifer with its transient erased state.

Functions§

worldgen_region_random_from_splitter 🔒
xoroshiro_worldgen_region_random 🔒