public function getDrops(Item $item) : array { if ($item->isPickaxe() >= 1) { return [[Item::IRON_BARS, 0, 1]]; } else { return []; } }