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

Started by 2t1 on

Topic category: Help with modding (Java Edition)

Last seen on 13:39, 5. Aug 2020
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.

Last seen on 21:55, 16. Oct 2022
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.