When you right click it gives you a random item

Started by Oykko on

Topic category: Help with modding (Java Edition)

Last seen on 13:40, 20. Oct 2021
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!

Last seen on 08:07, 22. Sep 2024
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

Last seen on 03:32, 22. Jul 2024
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

Last seen on 13:40, 20. Oct 2021
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