Does anyone know how to make a random item gen

You could use blocks pick a random integer that corresponds to different things.

(that sounded so weird)

Use something like the random fishing part, and you can adjust the numbers to your liking.