A simple mod that prevents baby passive mobs from being harmed. You are free to use this in a modpack.
The protection doesn't apply to hostile mobs, so you can still defend yourself!
Create a true sanctuary for your animals.
Passive baby mobs are completely immune to damage.