mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Added Biome methods to Level
This commit is contained in:
@ -313,6 +313,14 @@ class Level{
|
||||
return $ret;
|
||||
}
|
||||
|
||||
public function getBiome($x, $z){
|
||||
return $this->level->getBiome((int) $x, (int) $z);
|
||||
}
|
||||
|
||||
public function setBiome($x, $z, $biome){
|
||||
return $this->level->getBiome((int) $x, (int) $z, $biome);
|
||||
}
|
||||
|
||||
public function getEntities(){
|
||||
return $this->entities;
|
||||
}
|
||||
|
Reference in New Issue
Block a user