mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Added Biome methods to Level
This commit is contained in:
parent
6ac5647e2c
commit
f08bedf2fe
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user