mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
phpdoc armageddon for master, pass 1
This commit is contained in:
@ -102,11 +102,6 @@ abstract class Biome{
|
||||
self::register(self::BIRCH_FOREST, new ForestBiome(TreeType::BIRCH()));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*
|
||||
* @return Biome
|
||||
*/
|
||||
public static function getBiome(int $id) : Biome{
|
||||
if(self::$biomes[$id] === null){
|
||||
self::register($id, new UnknownBiome());
|
||||
@ -122,12 +117,6 @@ abstract class Biome{
|
||||
$this->populators[] = $populator;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param ChunkManager $world
|
||||
* @param int $chunkX
|
||||
* @param int $chunkZ
|
||||
* @param Random $random
|
||||
*/
|
||||
public function populateChunk(ChunkManager $world, int $chunkX, int $chunkZ, Random $random) : void{
|
||||
foreach($this->populators as $populator){
|
||||
$populator->populate($world, $chunkX, $chunkZ, $random);
|
||||
|
Reference in New Issue
Block a user