How do I make it so get back a bucket from drinking a custom drink?

Started by 2t1 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make it so get back a bucket from drinking a custom drink?

Hello,
I was trying to figure out on how to make something like a Milk Bucket that will give you back the bucket once you drink it.
I used set item in main hand but it didn't seem to work because it did it way faster than it removed the food item.

Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try making it add to theā€¦
Thu, 07/30/2020 - 15:38

Try making it add to the inventory instead. It may not give you the bucket the way you want it, but it works.