Skip to main content

Module noise

Module noise 

Source
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:

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.
BlendedNoise
Runtime counterpart of vanilla’s 26.3 BlendedNoise sampler.
CornerColumnStore
Generator-wide store of boundary corner columns, keyed by cell column.
EndIslands
End islands density function.
ImprovedNoise
Improved Perlin noise generator.
LazyAquifer
Deferred Aquifer. Used by create_structures so chunks where no structure queries the aquifer skip its (expensive) max_preliminary_surface_level scan.
NoiseChunk
Stores density values at cell corners for a single chunk and provides trilinear interpolation between corners for block-level resolution.
NormalNoise
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.
PerlinNoise
Octave-based Perlin noise generator.
PerlinSimplexNoise
Multi-octave simplex noise generator.
PreliminarySurfaceStore
shared surface levels, one atomic word per entry reads see a complete entry or miss; collisions just mean recomputing
SimplexNoise
Simplex noise generator matching vanilla’s SimplexNoise.java.

Enums§

AquiferResult
Result of the aquifer substance check.

Functions§

preliminary_surface_level
Evaluate preliminary surface level at quart-quantized coordinates.