Added Biome methods to Level

This commit is contained in:
Shoghi Cervantes 2014-02-28 20:04:41 +01:00
parent 6ac5647e2c
commit f08bedf2fe

View File

@ -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;
}