Adding potion effects to food

Started by DevMan_Minecraft on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding potion effects to food
Mon, 01/27/2020 - 02:50 (edited)

How can I make a food I made give a potion effect when eaten? I tried making a procedure but, I must've done it wrong because it gave the potion effect when loading up the world not when the food was eaten. This is in the latest version of mcreator

Edited by DevMan_Minecraft on Mon, 01/27/2020 - 02:50
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
gO INTO FOOD ELEMNT CLICK ON…
Sun, 01/26/2020 - 20:21

gO INTO FOOD ELEMNT CLICK ON WHEN eaten and just put your potion effect procedure on

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you show me an example…
Sun, 01/26/2020 - 20:33

Could you show me an example because I did that however, it just gave it when the world loaded or do I have to do a new world?

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
or anyone else that knows…
Mon, 01/27/2020 - 00:42

or anyone else that knows please?

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Um, the which kind of code…
Fri, 01/08/2021 - 18:11

Um, the which kind of code do you put

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm a bit confused, what…
Sat, 03/13/2021 - 02:45

I'm a bit confused, what should I do in order to attach potion effects to food?

Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go To The Food Element Then…
Sat, 03/13/2021 - 02:55

Go To The Food Element

Then Go To Triggers 

When food is eaten

Create A procedure

The Only Block you need is 

add potion with level x for x ticks to event target entity type x

x means you can customize it

 

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where i find the potion…
Wed, 07/07/2021 - 20:51

where i find the potion thing?

 

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can search 'Potion' in…
Thu, 07/08/2021 - 07:07

You can search 'Potion' in the search bar and click add potion effect

 

btw do you know how to block code bcoz you need a bit of knowledge on that

Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
With the newest Snapshot…
Mon, 04/25/2022 - 21:05

With the newest Snapshot build which combined food and items it's now located under: Triggers > "Player finishes using item"