How do I do an item that generates random loot?

Started by Ozerloxx on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Apr 2021
Points:
574

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
How do I do an item that generates random loot?

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)

Active 2 years ago
Joined Feb 2019
Points:
751

User statistics:

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

Still need the answer?

 
Active 4 years ago
Joined Apr 2021
Points:
574

User statistics:

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

No thanks you