Trigger not found

Started by ULGUUUU on

Topic category: Help with MCreator software

Last seen on 10:28, 22. Oct 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trigger not found

I cant find the Trigger "when Food eaten"

hope you can help me

Last seen on 10:28, 22. Oct 2023
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ohh thank you :D
Thu, 05/19/2022 - 14:59

ohh thank you :D

Last seen on 05:05, 30. Oct 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Who came up with the idea…
Fri, 05/20/2022 - 04:47

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?

Last seen on 15:21, 16. Oct 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
From what I know, there are…
Fri, 05/20/2022 - 10:35

From what I know, there are none food eating specific triggers. I think this trigger mentioned here can be also triggered by potions. 

Last seen on 05:05, 30. Oct 2022
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
From what I can tell, the…
Fri, 05/20/2022 - 17:24

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.

Last seen on 15:21, 16. Oct 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
All you have in inventory is…
Sat, 05/21/2022 - 10:51

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).