Check when player is eating food

Started by Mido-shonun on

Topic category: User side tutorials

Last seen on 02:27, 13. Apr 2024
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check when player is eating food

I've seen things about how to make custom food do things after eating it, but could not find anything on normal Minecraft foods.

this is pretty important to my mod, since its Tokyo Ghoul. Unfortunately, I had to figure it out on my own.

it was pretty easy:

 

Make the event trigger "player finishes using item"  (in a normal procedure)

Check what the "Provided Itemstack" is, and set it to whatever foods you want.

From there, make it do what you want.