How do I add a drink?

Started by Olimon7661 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I add a drink?

I want to make a food that doesn't make crumbs and plays the eating effect, as well as give you some buffs. But I don't wanna make it a potion, because I don't want splash, lingering and tipped arrow versions of it. So what do I do.

Joined Oct 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For the effects Go to food…
Wed, 10/22/2025 - 21:21

For the effects

Go to food properties and check "Is this item a food?"

(You can set eating item result to an empty version of the drink if you want)

Set as always edible

Go to triggers, find "Player finishes using item", press the +, and press create procedure

Press entity procedures, actions, and scroll down a bit until you see "Add Potion (No entry selected) with level 1 for 60 ticks (either one will do, ambient just means less particles. Also remember there are 20 ticks in a second, so take the amount of seconds you want it to last and multiply it by 20)

Once you're done, save the procedure and the item, and it should work :)