Small fixes

Fixed pumpkins face direction
Added drop snowballs from snow
Added mobs spawn from his spawn eggs
This commit is contained in:
ArkQuark 2021-12-22 17:09:54 +03:00
parent 680ce226cd
commit 86cfb923f4
4 changed files with 29 additions and 7 deletions

View file

@ -24,5 +24,11 @@ class SnowBlock extends SolidBlock{
parent::__construct(SNOW_BLOCK, 0, "Snow Block");
$this->hardness = 1;
}
public function getDrops(Item $item, Player $player){
return array(
array(SNOWBALL, 0, 4),
);
}
}