Skip to content

Biome ​

abstract class · pocketmine\world\biome\Biome · source

Constants ​

MAX_BIOMES ​

php
public const MAX_BIOMES = 256

Properties ​

$rainfall protected ​

php
protected float $rainfall

$temperature protected ​

php
protected float $temperature

Methods ​

addPopulator() ​

php
public function addPopulator(\pocketmine\world\generator\populator\Populator $populator) : void

clearPopulators() ​

php
public function clearPopulators() : void

getGroundCover() ​

php
public function getGroundCover() : array

getId() ​

php
public function getId() : int

getMaxElevation() ​

php
public function getMaxElevation() : int

getMinElevation() ​

php
public function getMinElevation() : int

getName() ​

php
abstract public function getName() : string

getPopulators() ​

php
public function getPopulators() : array

getRainfall() ​

php
public function getRainfall() : float

getTemperature() ​

php
public function getTemperature() : float

populateChunk() ​

php
public function populateChunk(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ, \pocketmine\utils\Random $random) : void

setElevation() ​

php
public function setElevation(int $min, int $max) : void

setGroundCover() ​

php
public function setGroundCover(array $covers) : void

setId() ​

php
public function setId(int $id) : void

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