Detect which item was eaten

Started by LuckyBacon on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect which item was eaten

I'd like to use a single procedure for all of the food that i eat. All of them link the same "eaten" trigger procedure.
So for example, "if the item is banana, set a value to this, else if item is Orange or lemon, set value to that, else if [...] else if... else if... else if...'

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the trigger…
Fri, 11/06/2020 - 07:34

You can use the trigger Player finishes using item