Started by
DaRealHerobrine
on
Topic category: Troubleshooting, bugs, and solutions
Build info: MCreator 2022.1.19518, forge-1.18.2, 64-bit, 7644 MB, Windows 8.1, JVM 17.0.1, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2022-05-10-10:52:03
Expected behavior: the Item mod element has a When Food Eaten trigger for procedures, similar to the one from the now deprecated Food mod element.
Actual behavior: there is no When Food Eaten trigger, seemingly making it impossible to give food items after-effects or events.
Workaround: No working solution found yet, I did see something in another thread about changing the procedure's source code but that doesn't seem to work for me.
Edited by DaRealHerobrine on Tue, 05/10/2022 - 18:03
You clicked item, those are item triggers. You need to make a new element that's a food.
You seem to misunderstand. Food mod elements have been removed in 2022.1. They are now part of the item mod element.
"Player finishes using item"
U can use this trigger for it.
Uhh, doesn't that also take effect if the player releases the key that's using the item before it's eaten? As far as I can tell, that's how it works (it's also literally described as doing that in the trigger description). Therefore, that won't work because if the player stops holding the right mouse button (or whatever keybind they have for using items), they still get the food's after-effects despite not eating it.
They should add in the food properties "On Food Consumption" trigger
for me its working perfectly with Player finishes using item.
it triggers for me only if the player hold the rightclick until its complete consumed.
Normal, they are THE SAME trigger. Only the name changed.