Adding potion effects to food

Started by DevMan_Minecraft on

Topic category: Help with modding (Java Edition)

Last seen on 20:43, 11. Feb 2021
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
Last seen on 16:16, 26. Apr 2024
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

Last seen on 20:43, 11. Feb 2021
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?

Last seen on 20:43, 11. Feb 2021
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?

Last seen on 20:43, 11. Feb 2021
Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It has been solved
Tue, 01/28/2020 - 00:00

It has been solved

Last seen on 17:04, 21. Jan 2021
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

Last seen on 23:23, 16. Mar 2021
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?

Last seen on 01:27, 24. Jan 2023
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

 

Last seen on 18:09, 3. Aug 2021
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?

 

Last seen on 15:58, 8. Dec 2023
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

Last seen on 16:57, 26. Apr 2024
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"