Normal oak tree and Balloon oak tree structure

This commit is contained in:
ArkQuark 2023-03-06 14:06:48 +03:00
parent 22edf4ab8f
commit 24c5ef8d3d
5 changed files with 170 additions and 5 deletions

View file

@ -17,9 +17,9 @@ class MyceliumBlock extends SolidBlock{
public function onActivate(Item $item, Player $player){ //uwu
//$oldtime = microtime(true);
//if(mt_rand(0, 1) === 0){
// Structures::$SMALLFARM_VILLAGE->rotate(Structure::DEG_240, $this->level)->build($this->level, $this->x, $this->y, $this->z);
//Structures::$SMALLFARM_VILLAGE->rotate(Structure::DEG_240, $this->level)->build($this->level, $this->x, $this->y, $this->z);
//}else{
// Structures::$SMALLFARM_VILLAGE->build($this->level, $this->x, $this->y, $this->z);
//(new OakTreeStructure())->build($this->level, $this->x, $this->y, $this->z);
//}
//$time = microtime(true);
//console("builded in ".($time - $oldtime));