Generating random item from item on right click

Started by titanicslimeocean on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Generating random item from item on right click

Im trying to make a Pokemon Pack mod with you crafting packs and then opening them with a right click which gives you a random rare card but I don't know how to generate a random item (with probabilties) and I'm still fairly new so I would like a detailed explanation