mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
Structure.php rewrite, all structures(except smallfarm) are probably broken now
This commit is contained in:
parent
64b9e376ca
commit
96a62953fa
9 changed files with 141 additions and 186 deletions
|
|
@ -15,6 +15,12 @@ class MyceliumBlock extends SolidBlock{
|
|||
}
|
||||
|
||||
public function onActivate(Item $item, Player $player){ //uwu
|
||||
/*if(mt_rand(0, 1) === 0){
|
||||
Structures::$SMALLFARM_VILLAGE->rotate90deg($this->level, $this->x, $this->y, $this->z)->build($this->level, $this->x, $this->y, $this->z);
|
||||
}else{
|
||||
Structures::$SMALLFARM_VILLAGE->build($this->level, $this->x, $this->y, $this->z);
|
||||
}*/
|
||||
|
||||
//(new WoodHutStructure())->build($this->level, $this->getX(), $this->getY(), $this->getZ());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue