Expand description
Noise generation utilities for world generation. Noise generation utilities matching vanilla Minecraft’s noise system.
This module provides the noise generation primitives used for world generation:
ImprovedNoise- Base Perlin noise implementationPerlinNoise- Octave-based Perlin noiseNormalNoise- Double Perlin noise (used for biome climate parameters)SimplexNoise- Simplex noise (used for End island generation)
Modules§
- aquifer 🔒
- Noise-based aquifer system for underground fluid placement.
- beardifier 🔒
- Beardifier: terrain density modification around structure pieces.
- blended_
noise 🔒 - Float-based blended terrain noise from vanilla 26.3.
- corner_
column_ 🔒store - share boundary corner columns with neighboring chunks
- end_
islands 🔒 - End islands terrain generation algorithm.
- improved_
noise 🔒 - Improved Perlin noise implementation matching vanilla Minecraft’s ImprovedNoise.java
- noise_
chunk 🔒 NoiseChunk: cell-based terrain density evaluation with trilinear interpolation.- normal_
noise 🔒 - ore_
veinifier 🔒 - Ore vein generation during terrain fill.
- perlin_
noise 🔒 - Octave-based Perlin noise implementation matching vanilla Minecraft’s
PerlinNoise.java - perlin_
simplex_ 🔒noise - Multi-octave simplex noise matching vanilla’s
PerlinSimplexNoise. - preliminary_
surface_ 🔒store - share preliminary surface levels across chunks
- simplex_
noise 🔒 - Simplex noise implementation matching vanilla Minecraft’s
SimplexNoise.java.
Structs§
- Aquifer
- Noise-based aquifer for a single chunk.
- Beardifier
- Computes terrain density contributions from nearby structure pieces and junctions.
- Blended
Noise - Runtime counterpart of vanilla’s 26.3
BlendedNoisesampler. - Corner
Column Store - Generator-wide store of boundary corner columns, keyed by cell column.
- EndIslands
- End islands density function.
- Improved
Noise - Improved Perlin noise generator.
- Lazy
Aquifer - Deferred
Aquifer. Used bycreate_structuresso chunks where no structure queries the aquifer skip its (expensive)max_preliminary_surface_levelscan. - Noise
Chunk - Stores density values at cell corners for a single chunk and provides trilinear interpolation between corners for block-level resolution.
- Normal
Noise - Vanilla’s 26.3 normal-noise sampler.
- OreVeinifier
- Ore vein generator. Holds cached block state IDs and the positional random splitter used for per-block randomness.
- Perlin
Noise - Octave-based Perlin noise generator.
- Perlin
Simplex Noise - Multi-octave simplex noise generator.
- Preliminary
Surface Store - shared surface levels, one atomic word per entry reads see a complete entry or miss; collisions just mean recomputing
- Simplex
Noise - Simplex noise generator matching vanilla’s
SimplexNoise.java.
Enums§
- Aquifer
Result - Result of the aquifer substance check.
Functions§
- preliminary_
surface_ level - Evaluate preliminary surface level at quart-quantized coordinates.