API reference / @jsprismarine/worldgen / NormalNoise
Class: NormalNoise
Defined in: noise/NormalNoise.ts:170
A worldgen/noise entry: the octave layout plus the normalization factor derived from it.
A single instance is shared across seeds; NormalNoise.create binds it to a random source to produce the sampleable stack.
Constructors
Constructor
new NormalNoise(
parameters):NormalNoise
Defined in: noise/NormalNoise.ts:174
Parameters
parameters
The parsed JSON parameters this noise was built from.
Returns
NormalNoise
Properties
parameters
readonlyparameters:NoiseParameters
Defined in: noise/NormalNoise.ts:176
The parsed JSON parameters this noise was built from.
Methods
create()
create(
random):Noise
Defined in: noise/NormalNoise.ts:207
Binds the parameters to a random source, producing the sampleable octave stack.
Each octave draws two Perlin instances from two positional factories, both keyed by octave_<index>, and the second runs at a slightly irrational frequency ratio so the two never line up.
Parameters
random
Returns
createForLegacyNetherBiome()
createForLegacyNetherBiome(
random):Noise
Defined in: noise/NormalNoise.ts:226
The pre-1.18 construction the nether's temperature and vegetation noises still use, where the octaves come from one chained random source rather than a positional factory.