How do I do an item that generates random loot?

Started by Ozerloxx on Wed, 04/07/2021 - 11:36

Topic category: Help with modding (Java Edition)

Last seen on 13:48, 13. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I do an item that generates random loot?
Wed, 04/07/2021 - 11:36

Hello, I am currently in difficulty because I am currently in the process of creating a mod, except that I do not know anything about java programming. I would like to create an item allowing to have random loots. That is to say, that when I right click with the object, there is a  interface that appears, and it gives me random loots, and then the object is destroyed. And also make sure that such and such an item has such a percentage chance of appearing. Here is thank you for answering me quickly!

- Ozerloxx

(sorry for my english, im french)

Last seen on 06:41, 25. Jan 2022
Joined Feb 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Still need the answer?  
Mon, 05/03/2021 - 02:16

Still need the answer?

 
Last seen on 13:48, 13. May 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
No thanks you  
Thu, 05/13/2021 - 13:49

No thanks you