VanillaBiomeSource 5.46.0
The biomes of a vanilla-generated dimension computed straight from the climate noise, without generating chunks (what /locate biome searches). Gives the same biomes as the generator: the multi-noise biome tree for the Overworld and the Nether, the End islands source for the End.
Methods
__construct()
php
public function __construct(\pocketmine\world\generator\vanilla\WorldgenData $data, int $seed, string $dimension = "overworld", ?string $kernelCacheDir = null)getBiome()
php
public function getBiome(int $x, int $y, int $z) : intBiome index at the given block position (sampled at its quart position, like the generator).
getBiomeNames()
php
public function getBiomeNames() : arrayBiome names (Java Edition ids without namespace, e.g. "desert") by biome index.
getBiomesInColumn()
php
public function getBiomesInColumn(int $x, int $z, array $ys) : arrayBiome indexes at several heights of one block column: the horizontal climate is sampled once.
getMaxY()
php
public function getMaxY() : intgetMinY()
php
public function getMinY() : int