new Structure.php

This commit is contained in:
ArkQuark 2023-03-03 13:27:24 +03:00
parent 8d67ebd2d4
commit 1c606f3e5e
4 changed files with 80 additions and 152 deletions

View file

@ -15,10 +15,7 @@ class MyceliumBlock extends SolidBlock{
}
public function onActivate(Item $item, Player $player){ //uwu
/*$f = Utils::randomFloat();
if($f <= 0.33) VillageLibraryStructure::buildStructure($this->level, $this->getX(), $this->getY(), $this->getZ());
elseif($f <= 0.67) SmallHouseStructure::buildStructure($this->level, $this->getX(), $this->getY(), $this->getZ());
else WoodHutStructure::buildStructure($this->level, $this->getX(), $this->getY(), $this->getZ());*/
//(new VillageLibraryStructure())::build($this->level, $this->getX(), $this->getY(), $this->getZ());
}
public function getDrops(Item $item, Player $player){