How to make a custom mob feedable?

Started by TheHappyPig on Wed, 02/03/2021 - 18:06

Topic category: Help with modding (Java Edition)

Last seen on 21:36, 22. Feb 2021
Joined Aug 2014

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a custom mob feedable?
Wed, 02/03/2021 - 18:06

I have a custom mob that I want to be feedable with any minecraft:food item, and for it to consume the food with a cooldown (like 5 mins) and for the mob to restore 5 hp per feeding

And I couldnt find any tutorials online and I barely know how to code sadly.