Added new hook to WeightedRandom.getItem that allows for use of custom rnadom generators, prevents redundant code in mods.