Started by
D_BSteak
on
Topic category: Troubleshooting, bugs, and solutions
I'm trying to detect when a player has finished eating food to give food items after-effects or events. But when I run the client it doesn't work.
Here is the simplified process :
I have already read on the forum that to do what I want you have to use "Player finishes using item". But I do not understand that on this process so simple it is not functional...
On MCreator 2022.1 Minecraft Forge for 1.18.2 (40.1.0) without any plugins
As far as I understood It checks if you have an apple in your main hand AFTER you finish eating it-
So in order for this to work you must either have 2 apples or you could just create a custom food that uses the "When player finishes using item" within it's own procedures part and not the event trigger thing you used on the screenshot
i tried that in main hand part: didnt work. the problem may have something to do with the when effect applied. when i made auuhhh warden removing effect it didnt work so i set the potion effect trigger to active tick. but now with the effect im working on now i have things i the procedure that i shant have repeating themselves:however' funny it is
UPDATE go to minecraft components and put provided itemstak where that in main hand was
You can't put provided item stack where the main hand was because you can't plug any values into the itemstack block.