GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
RiverBiome Class Reference

Public Member Functions

 __construct ()
 
 getName ()
 
- Public Member Functions inherited from GrassyBiome
 __construct ()
 
- Public Member Functions inherited from Biome
 clearPopulators ()
 
 addPopulator (Populator $populator)
 
 removePopulator ($class)
 
 populateChunk (ChunkManager $level, $chunkX, $chunkZ, Random $random)
 
 getPopulators ()
 
 setId ($id)
 
 getId ()
 
 getName ()
 
 getMinElevation ()
 
 getMaxElevation ()
 
 setElevation ($min, $max)
 
 getGroundCover ()
 
 setGroundCover (array $covers)
 
 getTemperature ()
 
 getRainfall ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Biome
static init ()
 
static getBiome ($id)
 
- Data Fields inherited from Biome
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 END = 9
 
const FROZEN_OCEAN = 10
 
const FROZEN_RIVER = 11
 
const ICE_PLAINS = 12
 
const ICE_MOUNTAINS = 13
 
const MUSHROOM_ISLAND = 14
 
const MUSHROOM_ISLAND_SHORE = 15
 
const BEACH = 16
 
const DESERT_HILLS = 17
 
const FOREST_HILLS = 18
 
const TAIGA_HILLS = 19
 
const SMALL_MOUNTAINS = 20
 
const BIRCH_FOREST = 27
 
const BIRCH_FOREST_HILLS = 28
 
const ROOFED_FOREST = 29
 
const COLD_TAIGA = 30
 
const COLD_TAIGA_HILLS = 31
 
const MEGA_TAIGA = 32
 
const MEGA_TAIGA_HILLS = 33
 
const EXTREME_HILLS_PLUS = 34
 
const SAVANNA = 35
 
const SAVANNA_PLATEAU = 36
 
const MESA = 37
 
const MESA_PLATEAU_F = 38
 
const MESA_PLATEAU = 39
 
const VOID = 127
 
const MAX_BIOMES = 256
 
- Static Protected Member Functions inherited from Biome
static register ($id, Biome $biome)
 
- Protected Attributes inherited from Biome
 $rainfall = 0.5
 
 $temperature = 0.5
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

RiverBiome constructor.

32  {
33  parent::__construct();
34 
35  $sugarcane = new Sugarcane();
36  $sugarcane->setBaseAmount(6);
37  $tallGrass = new TallGrass();
38  $tallGrass->setBaseAmount(5);
39 
40  $this->addPopulator($sugarcane);
41  $this->addPopulator($tallGrass);
42 
43  $this->setElevation(58, 62);
44 
45  $this->temperature = 0.5;
46  $this->rainfall = 0.7;
47  }

Member Function Documentation

◆ getName()

getName ( )
Returns
string
52  : string{
53  return "River";
54  }

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