Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Noise

From SAS Gaming Wiki
Revision as of 11:20, 5 August 2026 by SyncBot (talk | contribs) (Sync: updated from Minecraft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:For Template:Exclusive

File:Continentalness noise map.png
An example sample of the minecraft:continentalness noise

A noise is a technical Minecraft:JSON file that can be referenced by a Minecraft:density function and Minecraft:surface rule. They are stored within a Minecraft:data pack in the folder Template:Cd.

In addition to being called by density functions and surface rules, there are also some noises with hard-coded usage:

JSON format

  • Template:Nbt: Root object.
    • Template:NbtTemplate:Until / Template:NbtTemplate:Upcoming: First octave. If Template:Nbt in the noise settings is true, it must be an integer less than or equal to 1, otherwise the value range is not unlimited.
    • Template:NbtTemplate:Until / Template:Nbt (optional)Template:Upcoming: A scaling factor to apply to each octave. The number of elements in the list must match Template:Cd. If not specified, it defaults to 1.0.Template:Upcoming Amplitudes of sub-noise. The frequency of a sub-noise at index (from 0) in the list is 2^(- firstOctave + index), and the amplitude (the value of the sub-noise ranges from -amplitude to +amplitude) of this sub-noise is about 1.04 * doubleValueAtIndex * 2^(sizeOfThisList - index - 1) / (2^sizeOfThisList - 1) (assuming the range of 3D Improved Perlin Noise is ±1.04). For each sub-noise, two 3D improved perlin noises are created and their average is taken. The final range of this noise value is ± 10 * sumOfSubNoises / ( 3 * ( 1 + 1 / m ) ), where m is the number of elements in the list after removing the leading and trailing zero elements. If Template:Nbt in the noise settings is true, the length must be less than or equal to 1-firstOctave. If false, the length is unlimited.Template:Until
    • Template:NbtTemplate:Upcoming: A scale factor to apply to the noise output. It must not be negative.
    • Template:NbtTemplate:Upcoming: The number of octaves to sample. Value between 1 and 32 (inclusive).
    • Template:NbtTemplate:Upcoming: Controls how the output amplitude should be normalized. If Template:Cd, Template:Cd is the expected amplitude of the output (i.e., 99.7% of all samples in Template:Cd). If Template:Cd, the base amplitude is instead the amplitude of the first octave. If Template:Cd, it inherits the same normalization behavior as expressed by the previous format. If not specified, it defaults to Template:Cd.

History

Template:Info needed section Template:HistoryTable

External links

Navigation

Template:Navbox Java Edition technical

Minecraft:de:Rauschdefinition Minecraft:fr:Bruit Minecraft:pt:Ruído Minecraft:zh:噪声