Biome
Constants
MAX_BIOMES
php
public const MAX_BIOMES = 256Properties
$rainfall protected
php
protected float $rainfall$temperature protected
php
protected float $temperatureMethods
addPopulator()
php
public function addPopulator(\pocketmine\world\generator\populator\Populator $populator) : voidclearPopulators()
php
public function clearPopulators() : voidgetGroundCover()
php
public function getGroundCover() : arraygetId()
php
public function getId() : intgetMaxElevation()
php
public function getMaxElevation() : intgetMinElevation()
php
public function getMinElevation() : intgetName()
php
abstract public function getName() : stringgetPopulators()
php
public function getPopulators() : arraygetRainfall()
php
public function getRainfall() : floatgetTemperature()
php
public function getTemperature() : floatpopulateChunk()
php
public function populateChunk(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ, \pocketmine\utils\Random $random) : voidsetElevation()
php
public function setElevation(int $min, int $max) : voidsetGroundCover()
php
public function setGroundCover(array $covers) : voidsetId()
php
public function setId(int $id) : void