mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
new Structure.php
This commit is contained in:
parent
8d67ebd2d4
commit
1c606f3e5e
4 changed files with 80 additions and 152 deletions
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue