public function getDrops(Item $item) : array
{
if ($item->isPickaxe() >= Tool::TIER_WOODEN) {
if ($item->getEnchantmentLevel(Enchantment::TYPE_MINING_SILK_TOUCH) > 0 and $this->getDamage() === 0) {
return [[Item::STONE, 0, 1]];
}
return [[$this->getDamage() === 0 ? Item::COBBLESTONE : Item::STONE, $this->getDamage(), 1]];
} else {
return [];
}
}