Added some Village Houses

This commit is contained in:
ArkQuark 2023-03-02 23:59:07 +03:00
parent 7929a44b80
commit b92ed8004b
4 changed files with 391 additions and 1 deletions

View file

@ -15,7 +15,10 @@ class MyceliumBlock extends SolidBlock{
}
public function onActivate(Item $item, Player $player){ //uwu
//StrongholdLibraryStructure::buildStructure($this->level, $this->getX(), $this->getY(), $this->getZ());
/*$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());*/
}
public function getDrops(Item $item, Player $player){