"Player finishes using item" trigger doesn't work

Started by D_BSteak on Tue, 08/09/2022 - 13:53

Topic category: Troubleshooting, bugs, and solutions

Last seen on 16:50, 14. Aug 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"Player finishes using item" trigger doesn't work
Tue, 08/09/2022 - 13:53

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

Last seen on 16:50, 14. Aug 2022
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
(No subject)
Tue, 08/09/2022 - 14:22

The process

Last seen on 04:20, 24. Aug 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As far as I understood It…
Tue, 08/09/2022 - 16:14

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