My wife got so mad at axolotls dying of fall damage constantly that I learned to do mixins about it.
This mod prevents all AnimalEntities from taking damage from any source by causing their "damage" method to return "false" no matter what. (For your reference, because it surprised me: bats, dolphins, and fish don't count for some reason.)
If this breaks something, or if you want to use it but can't because of [minor technical/use-case misalignment*], please open an issue on the issue tracker. I can't promise anything, but it would be cool to know in case I have time to fix it.
* This includes "I need it to be for a different version of Minecraft". TENTATIVELY. Forge is beyond me, though.
Enjoy your immortal animals !!
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+