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

Started by 2t1 on Tue, 07/28/2020 - 10:00

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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make it so get back a bucket from drinking a custom drink?
Tue, 07/28/2020 - 10:00

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 14:37, 5. Jun 2021
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.