"Player finishes using item" trigger doesn't work

Started by D_BSteak on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Player finishes using item" trigger doesn't work

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

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i tried that in main hand…
Wed, 08/16/2023 - 07:48

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 

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
UPDATE go to minecraft…
Wed, 08/16/2023 - 07:54

UPDATE go to minecraft components and put provided itemstak where that in main hand was

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can't put provided item…
Sat, 09/30/2023 - 00:46

You can't put provided item stack where the main hand was because you can't plug any values into the itemstack block.