How to make a custom mob feedable?

Started by TheHappyPig on

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a custom mob feedable?

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.