mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
Added Biome methods to Level
This commit is contained in:
parent
6ac5647e2c
commit
f08bedf2fe
@ -313,6 +313,14 @@ class Level{
|
|||||||
return $ret;
|
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(){
|
public function getEntities(){
|
||||||
return $this->entities;
|
return $this->entities;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user