Randomizer

Started by Logdawg940 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Randomizer

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.

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can do that using…
Tue, 02/26/2019 - 11:41

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.