Make a lucky block or a lucky item

Started by Ro... on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make a lucky block or a lucky item

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?

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try using procedures for the…
Sun, 07/26/2020 - 04:03

Try using procedures for the "When block right clicked" event. You can create a random outcome using them.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it makes it any easier,…
Sun, 07/26/2020 - 12:07

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

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you Kinyoshi!
Sun, 07/26/2020 - 13:16

Thank you Kinyoshi!