Structure.php rewrite, all structures(except smallfarm) are probably broken now

This commit is contained in:
GameHerobrine 2023-03-04 17:32:15 +03:00
parent 64b9e376ca
commit 96a62953fa
9 changed files with 141 additions and 186 deletions

View file

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