pocketmine\block\Redstone::getDrops PHP Метод

getDrops() публичный Метод

public getDrops ( Item $item ) : array
$item pocketmine\item\Item
Результат array
    public function getDrops(Item $item) : array
    {
        if ($item->isPickaxe() >= 1) {
            return [[Item::REDSTONE_BLOCK, 0, 1]];
        } else {
            return [];
        }
    }