Started by
DevMan_Minecraft
on
Topic category: Help with Minecraft modding (Java Edition)
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
gO INTO FOOD ELEMNT CLICK ON WHEN eaten and just put your potion effect procedure on
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?
or anyone else that knows please?
It has been solved
Um, the which kind of code do you put
I'm a bit confused, what should I do in order to attach potion effects to food?
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
where i find the potion thing?
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
With the newest Snapshot build which combined food and items it's now located under: Triggers > "Player finishes using item"