Making an item giving the player a random item when right-klicked

Started by LP Leon YT on

Topic category: Help with modding (Java Edition)

Last seen on 22:11, 25. Feb 2024
Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making an item giving the player a random item when right-klicked

Hello!

So, I want to implement wands into my mod and had the idea to do one that gives the player a completly random item when right-klicked but I don't really know how to do this.
I would be happy, if you can help me out by giving ideas/examples how to do this.

Thank you very much!

Last seen on 07:30, 24. Sep 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
loot tables
Mon, 09/12/2022 - 06:28

loot tables