BiomeSelector
Methods
__construct()
php
public function __construct(\pocketmine\utils\Random $random)getRainfall()
php
public function getRainfall(float $x, float $z) : floatgetTemperature()
php
public function getTemperature(float $x, float $z) : floatlookup() protected
php
abstract protected function lookup(float $temperature, float $rainfall) : intLookup 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\Biomerecalculate()
php
public function recalculate() : void