Who came up with the idea for renaming this? It makes things needlessly confusing.
I had the same problem as OP when I was creating a procedure that triggered after eating food. I worked out that I could code edit my own trigger off of "onFoodEaten" rather than "onUseItemFinish" figuring that the latter would trigger on some things that weren't food. It turns out that both triggers are exactly the same, there are no items that trigger on item finish that aren't things a player eats.
If there aren't any items other than food that initiate this trigger, why name it in such a way that implies otherwise?
From what I can tell, the game doesn't distinguish between Food and Potions, they're basically the same thing, with only minor details differing. The "onFoodEaten" trigger I added triggers on both (I had to add a check for Saturation to exclude Potions for my procedure).
My point is the the trigger name is very unintuitive and leads to unnecessary misconceptions.
This has been renamed to "Player finishes using item", the last trriger.
ohh thank you :D
Who came up with the idea for renaming this? It makes things needlessly confusing.
I had the same problem as OP when I was creating a procedure that triggered after eating food. I worked out that I could code edit my own trigger off of "onFoodEaten" rather than "onUseItemFinish" figuring that the latter would trigger on some things that weren't food. It turns out that both triggers are exactly the same, there are no items that trigger on item finish that aren't things a player eats.
If there aren't any items other than food that initiate this trigger, why name it in such a way that implies otherwise?
From what I know, there are none food eating specific triggers. I think this trigger mentioned here can be also triggered by potions.
From what I can tell, the game doesn't distinguish between Food and Potions, they're basically the same thing, with only minor details differing. The "onFoodEaten" trigger I added triggers on both (I had to add a check for Saturation to exclude Potions for my procedure).
My point is the the trigger name is very unintuitive and leads to unnecessary misconceptions.
All you have in inventory is an item at the moment. Just different items have different procedures on use.
From what I see, they changed the name to the one that is similar to the event name in minecraft forge code:
"LivingEntityUseItemEvent.Finish". In the docs its written that it's fired when item notifies it was used.
I think it is used for everything that can be used (typically when player holds right mouse).