Its pretty easy to cause creatures like megafauna to simply gib or reduce a ckey mob into bones, when it comes to smaller mobs though they tend to just focus on living targets to attack then ignore them afterwards. Spiders of course passively wrap bodies up to suck nutrients out of.
- Certain mobs have internal counters that allow them to do special actions like 'reproduce' or heal themselves passively from the contents of their stomach or hunger, in most cases healing is instantaneous upon eating, like how bosses can regain health from the dead.
- Ian & goldgrubs are the simplest NPC's to already simulate eating, because they have 'desirable' things they want to eat, on a carnivorous mob then like a space bear, they would seek out a dead ckey body then dismember it to eat the arms and legs which are the desired food items when they lose aggro.
> Going under the reasoning that a goliath is a herbivore, finding passively that they are moving towards or grazing over lavaland ash-plants to eat to restore health after murdering a ashwalker poking them with a spear & failing, or plodding over to some already gathered dropped ash-fruits.
> Gutlunches are organic detrivores for example and eat gibs, working in that simple function, seeking it out for themselves.