Started by
Ro...
on
Topic category: Help with Minecraft modding (Java Edition)
Hi i want to make a item that when u right click, it will give a random item. i saw this forum topic https://mcreator.net/forum/31160/random-rewards
but it was in 2016. what i want to ask is how work and how to use the stacked event. can someone tell how?
Try using procedures for the "When block right clicked" event. You can create a random outcome using them.
this is what I'm setting up for my Green Thorns mod. when it runs through it, somethings are rarer drops that others, the last drop in the chain is the most common drop..
https://www.mediafire.com/file/k6ebol9n6f53cfj/randomitemprocedure.ptpl/file
If it makes it any easier, you could play around with the loot table of the block, it saves having to create a procedure for the drops instead
Thank you Kinyoshi!