When you right click it gives you a random item

Started by Oykko on

Topic category: Help with Minecraft modding (Java Edition)

Active 3 years ago
Joined Oct 2021
Points:
531

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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!

Active 5 months ago
Joined Mar 2021
Points:
1016

User statistics:

  • Modifications: 3
  • Forum topics: 37
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 451
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

Active 1 year ago
Joined Oct 2020
Points:
1617

User statistics:

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

or use loot tables

Active 3 years ago
Joined Oct 2021
Points:
531

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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