Skip to content

PerlinSimplexNoise 5.46.0 ​

final class · pocketmine\world\generator\vanilla\noise\PerlinSimplexNoise · source

Octaves of 2D simplex noise (Minecraft's PerlinSimplexNoise), for octave sets without positive octaves (all the biome temperature noises): octave 0 at full frequency, octave -n at 1/2^n.

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\generator\vanilla\random\RandomSource $random, array $octaves)

getValue() ​

php
public function getValue(float $x, float $y) : float

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.