Skip to content

BiomeSelector ​

abstract class · pocketmine\world\generator\biome\BiomeSelector · source

Methods ​

__construct() ​

php
public function __construct(\pocketmine\utils\Random $random)

getRainfall() ​

php
public function getRainfall(float $x, float $z) : float

getTemperature() ​

php
public function getTemperature(float $x, float $z) : float

lookup() protected ​

php
abstract protected function lookup(float $temperature, float $rainfall) : int

Lookup function called by recalculate() to determine the biome to use for this temperature and rainfall.

pickBiome() ​

php
public function pickBiome(float $x, float $z) : \pocketmine\world\biome\Biome

recalculate() ​

php
public function recalculate() : void

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