Method Pick
Pick(IReadOnlyList<ContentDef>, Random)
Picks one entry with the game's deterministic random (never returns an item when the list is empty). Takes the Random explicitly so callers keep using the synchronised generator.
public static ContentDef Pick(IReadOnlyList<ContentDef> candidates, Random random)
Parameters
candidatesIReadOnlyList<ContentDef>randomRandom