PocketMine
Biome Class Reference
Inheritance diagram for Biome:
HellBiome NormalBiome GrassyBiome SandyBiome SnowyBiome ForestBiome MountainsBiome OceanBiome PlainBiome RiverBiome SwampBiome DesertBiome IcePlainsBiome TaigaBiome

Public Member Functions

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

Static Public Member Functions

static init ()
 
static getBiome ($id)
 

Data Fields

const OCEAN = 0
 
const PLAINS = 1
 
const DESERT = 2
 
const MOUNTAINS = 3
 
const FOREST = 4
 
const TAIGA = 5
 
const SWAMP = 6
 
const RIVER = 7
 
const HELL = 8
 
const ICE_PLAINS = 12
 
const SMALL_MOUNTAINS = 20
 
const BIRCH_FOREST = 27
 
const MAX_BIOMES = 256
 

Static Protected Member Functions

static register ($id, Biome $biome)
 

Protected Attributes

 $rainfall = 0.5
 
 $temperature = 0.5
 
 $grassColor = 0
 

Member Function Documentation

static getBiome (   $id)
static
Parameters
$id
Returns
Biome
getColor ( )
abstract
Returns
int (Red|Green|Blue)
getGroundCover ( )
Returns
Block[]
setGroundCover ( array  $covers)
Parameters
Block[]$covers

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