When you right click it gives you a random item

Started by Oykko on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When you right click it gives you a random item

So I was just developing a mod for my youtube and since I'm a lazy person to code I used this software and i want to make it so when I right click in the air It gives me a random item from my loot table If it is in Idk how to do so I will thank you if there is a solution to this!

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Choose your trigger and…
Fri, 10/15/2021 - 13:48

Choose your trigger and apply blocks:

if random 0.1

Add item to invetory or set item in main/off hand

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
or use loot tables
Fri, 10/15/2021 - 16:15

or use loot tables

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wanna know how to use by…
Fri, 10/15/2021 - 17:11

I wanna know how to use by loot tables! I know im being stubborn but I just prefer using lootables instead of keep adding some circuit  like 50 times  like inefficiently because obviously when you right click it's gonna give you like 5 million other random items and I spent my time on loot tables so I don't wanna spend my time again on this circuit