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

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 26 of file SwampBiome.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\world\biome\SwampBiome::__construct ( )

Reimplemented from pocketmine\world\biome\GrassyBiome.

Definition at line 28 of file SwampBiome.php.

Member Function Documentation

◆ addPopulator()

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

Definition at line 54 of file Biome.php.

◆ clearPopulators()

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

Definition at line 50 of file Biome.php.

◆ getGroundCover()

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

Definition at line 100 of file Biome.php.

◆ getId()

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

Definition at line 78 of file Biome.php.

◆ getMaxElevation()

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

Definition at line 88 of file Biome.php.

◆ getMinElevation()

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

Definition at line 84 of file Biome.php.

◆ getName()

pocketmine\world\biome\SwampBiome::getName ( )

Reimplemented from pocketmine\world\biome\Biome.

Definition at line 37 of file SwampBiome.php.

◆ getPopulators()

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

Definition at line 67 of file Biome.php.

◆ getRainfall()

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

Definition at line 115 of file Biome.php.

◆ getTemperature()

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

Definition at line 111 of file Biome.php.

◆ populateChunk()

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

Definition at line 58 of file Biome.php.

◆ setElevation()

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

Definition at line 92 of file Biome.php.

◆ setGroundCover()

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

Definition at line 107 of file Biome.php.

◆ setId()

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

Definition at line 71 of file Biome.php.

Member Data Documentation

◆ $rainfall

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

Definition at line 47 of file Biome.php.

◆ $temperature

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

Definition at line 48 of file Biome.php.

◆ MAX_BIOMES

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

Definition at line 33 of file Biome.php.


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