Skip to main content

Module generator

Module generator 

Source
Expand description

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

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.
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§

CarversPhase
Marker for the Carvers generation operation.
NoisePhase
Marker for the Noise generation operation.
SurfacePhase
Marker for the Surface 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 🔒