I need help with a procedure in food

Started by Dominikrni on

Topic category: Help with modding (Java Edition)

Last seen on 09:43, 3. Feb 2020
Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help with a procedure in food

Basically, in some food i made, i made it so a procedure runs when its eaten, and the procedure is supposed to give the player a half-eaten version of the food, so it looks like its been eaten a bit.

 

However, when i use this procedure

 

Event trigger - triggered by external call

or when (global trigger): No additional trigger

                 Add 1 (half eaten food) to provided players inventory

(Procedure is at "When food eaten")

 

It doesn't work.

Is there a way to fix this, is something missing, or am i just doing it wrong?