PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\world\biome\Biome Class Reference
+ Inheritance diagram for pocketmine\world\biome\Biome:
+ Collaboration diagram for pocketmine\world\biome\Biome:

Public Member Functions

 addPopulator (Populator $populator)
 
 clearPopulators ()
 
 getGroundCover ()
 
 getId ()
 
 getMaxElevation ()
 
 getMinElevation ()
 
 getName ()
 
 getPopulators ()
 
 getRainfall ()
 
 getTemperature ()
 
 populateChunk (ChunkManager $world, int $chunkX, int $chunkZ, Random $random)
 
 setElevation (int $min, int $max)
 
 setGroundCover (array $covers)
 
 setId (int $id)
 

Public Attributes

const MAX_BIOMES = 256
 

Protected Attributes

float $rainfall = 0.5
 
float $temperature = 0.5
 

Detailed Description

Definition at line 31 of file Biome.php.

Member Function Documentation

◆ addPopulator()

pocketmine\world\biome\Biome::addPopulator ( Populator $populator)

Definition at line 54 of file Biome.php.

◆ clearPopulators()

pocketmine\world\biome\Biome::clearPopulators ( )

Definition at line 50 of file Biome.php.

◆ getGroundCover()

pocketmine\world\biome\Biome::getGroundCover ( )
Returns
Block[]

Definition at line 100 of file Biome.php.

◆ getId()

pocketmine\world\biome\Biome::getId ( )

Definition at line 78 of file Biome.php.

◆ getMaxElevation()

pocketmine\world\biome\Biome::getMaxElevation ( )

Definition at line 88 of file Biome.php.

◆ getMinElevation()

pocketmine\world\biome\Biome::getMinElevation ( )

Definition at line 84 of file Biome.php.

◆ getPopulators()

pocketmine\world\biome\Biome::getPopulators ( )
Returns
Populator[]

Definition at line 67 of file Biome.php.

◆ getRainfall()

pocketmine\world\biome\Biome::getRainfall ( )

Definition at line 115 of file Biome.php.

◆ getTemperature()

pocketmine\world\biome\Biome::getTemperature ( )

Definition at line 111 of file Biome.php.

◆ populateChunk()

pocketmine\world\biome\Biome::populateChunk ( ChunkManager $world,
int $chunkX,
int $chunkZ,
Random $random )

Definition at line 58 of file Biome.php.

◆ setElevation()

pocketmine\world\biome\Biome::setElevation ( int $min,
int $max )

Definition at line 92 of file Biome.php.

◆ setGroundCover()

pocketmine\world\biome\Biome::setGroundCover ( array $covers)
Parameters
Block[]$covers

Definition at line 107 of file Biome.php.

◆ setId()

pocketmine\world\biome\Biome::setId ( int $id)

Definition at line 71 of file Biome.php.

Member Data Documentation

◆ $rainfall

float pocketmine\world\biome\Biome::$rainfall = 0.5
protected

Definition at line 47 of file Biome.php.

◆ $temperature

float pocketmine\world\biome\Biome::$temperature = 0.5
protected

Definition at line 48 of file Biome.php.

◆ MAX_BIOMES

const pocketmine\world\biome\Biome::MAX_BIOMES = 256

Definition at line 33 of file Biome.php.


The documentation for this class was generated from the following file: