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:

  • [ImprovedNoise] - Base Perlin noise implementation
  • [PerlinNoise] - Octave-based Perlin noise
  • [NormalNoise] - 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 🔒
BlendedNoise implementation matching vanilla Minecraft’s BlendedNoise.java
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 🔒
Normal (Double Perlin) noise implementation matching vanilla Minecraft’s NormalNoise.java
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.
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 BlendedNoise sampler with three seeded PerlinNoise instances.
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
Normal (Double Perlin) noise generator.
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.
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.