LootPool 5.46.0
A loot pool: rolls (plus bonus rolls scaled by luck) weighted picks among the entries that pass their conditions.
Methods
__construct()
php
public function __construct(array $entries, \pocketmine\loot\NumberProvider $rolls, \pocketmine\loot\NumberProvider $bonusRolls, ?\Closure $condition, ?\Closure $function)addRandomItems()
php
public function addRandomItems(\Closure $output, \pocketmine\loot\LootContext $context) : voidLootPool.addRandomItems()
