Candidate items, each carrying a probWeight modifier.
The random source; defaults to the shared sohl.random singleton. Inject a seeded sohl.entity.random.createRng instance to make selection reproducible (or force it deterministically end to end).
The randomly selected item.
Select a random item from an array, weighted by each item's
probWeightproperty. Items with higher weights are proportionally more likely to be selected.