mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Added MonsterRoom Structure
This commit is contained in:
parent
762ff1b3eb
commit
022664c402
5 changed files with 100 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue