NormalNoiseParameters 5.46.0
Parameters of a "normal noise" (two offset octave stacks), as found in worldgen/noise/*.json (ported from misode/deepslate NormalNoise, MIT).
Constants
NORMALIZE_DISABLED
php
public const NORMALIZE_DISABLED = 0NORMALIZE_ENABLED
php
public const NORMALIZE_ENABLED = 1NORMALIZE_LEGACY
php
public const NORMALIZE_LEGACY = 2Properties
$amplitudeModifiers
php
public readonly array $amplitudeModifiers$baseAmplitude
php
public readonly float $baseAmplitude$baseOctave
php
public readonly int $baseOctave$normalize
php
public readonly int $normalize$octaveCount
php
public readonly int $octaveCountMethods
__construct()
php
public function __construct(float $baseAmplitude, int $baseOctave, int $octaveCount, int $normalize, array $amplitudeModifiers)create()
php
public function create(\pocketmine\world\generator\vanilla\random\RandomSource $random) : \pocketmine\world\generator\vanilla\noise\NoiseStackcreateLegacyNetherBiome()
php
public function createLegacyNetherBiome(\pocketmine\world\generator\vanilla\random\RandomSource $random) : \pocketmine\world\generator\vanilla\noise\NoiseStackLegacy initialization of the Nether biome noises (worlds with a legacy random source): each stack is made of sequentially seeded octaves, skipping the unused ones (octave 0 down to the first octave), from one random.
getNormalizationFactor()
php
public function getNormalizationFactor() : floatgetOctaves()
php
public function getOctaves() : arrayOctaves with a non-zero amplitude: [octave index, frequency, amplitude].
