"Player finishes using item" trigger doesn't work

Started by D_BSteak on

Topic category: Troubleshooting, bugs, and solutions

Active 11 months ago
Joined Jul 2022
Points:
388

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
"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

Active 11 months ago
Joined Jul 2022
Points:
388

User statistics:

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

The process

Active 2 years ago
Joined Feb 2022
Points:
525

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
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

Active 1 year ago
Joined Jun 2023
Points:
236

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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 

Active 1 year ago
Joined Jun 2023
Points:
236

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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

Active 1 month ago
Joined Jun 2023
Points:
310

User statistics:

  • Modifications: 0
  • Forum topics: 16
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 50
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.