Added MonsterRoom Structure

This commit is contained in:
ArkQuark 2023-03-02 16:59:39 +03:00
parent 762ff1b3eb
commit 022664c402
5 changed files with 100 additions and 4 deletions

View file

@ -80,6 +80,7 @@ class NetherReactorBlock extends SolidBlock{
}
return $pigCount < 3 ? $pigCount < 2 ? 2 : 1 : 0;
}
public function spawnItems($data) {
$x = $this->x;
$y = $this->y;
@ -116,6 +117,7 @@ class NetherReactorBlock extends SolidBlock{
$server->api->entity->spawnToAll($e);
}
}
public function glow($part){
$x = $this->x;
$y = $this->y;
@ -182,6 +184,7 @@ class NetherReactorBlock extends SolidBlock{
break;
}
}
private function isCorrect($x, $y, $z){
$offsetX = -1;
$offsetZ = -1;