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