Started by
Logdawg940
on
Topic category: Help with Minecraft modding (Java Edition)
So I want to make it to where if the player obtains a specific item and shift right clicks with it, it becomes a new item. BUT there is a chance of recieving another item. Like a loot bag where you have a chance of getting a diamond, a emerald, or a gold ingot.
You can do that using procedures :)
Here is a tutorial:
https://mcreator.net/wiki/procedure-system#wiki-index-3
You can use multiple "if blocks" for checking different values to make multiple rewards.
Bind this procedure to "on item right-clicked on air" trigger of a custom item you made and it will work.
At the moment you can't check if the player is shifting too, but you will be able in the next update.