Generating random item from item on right click

Started by titanicslimeocean on Sat, 05/28/2022 - 01:13

Topic category: Help with modding (Java Edition)

Last seen on 04:05, 15. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Generating random item from item on right click
Sat, 05/28/2022 - 01:13

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