Friendly Fire Mod
Friendly Fire Mod (1.20.4, 1.19.4) will prevent pet mobs from being damaged by their owners. You can also edit the config file to prevent damage to baby mobs as well, however this is off by default. With all of the new weapons added by other mods, and the combat changes in 1.9 it has become extremely easy to accidently kill your pet mobs. In many cases, being careful is not good enough, as they will still be hurt by AOE effects. If you sneak, the mob will not be protected.
You can install this mod on a server. Furthermore, this mod is actually client-side optional, meaning you can install it on your servers, and players will not need the mod to connect. It should work for most modded pets, if not all of them.
Requires:
How to install:
How To Download & Install Mods with Minecraft Forge
How To Download & Install Fabric Mods
Friendly Fire Mod (1.20.4, 1.19.4) Download Links
Older versions:
For Minecraft 1.15.2
Forge version: Download from server 1
For Minecraft 1.16.5
Forge version: Download from server 1
For Minecraft 1.18.2
Forge version: Download from Server 1
Fabric version: Download from Server 1
For Minecraft 1.19
Forge version: Download from server 1
Fabric version: Download from server 1
For Minecraft 1.19.1
Forge version: Download from server 1
Fabric version: Download from server 1
For Minecraft 1.19.2
Forge version: Download from server 1
Fabric version: Download from server 1
For Minecraft 1.19.4
Forge version: Download from server 1 – Download from server 2
Fabric version: Download from server 1 – Download from server 2
For Minecraft 1.20.1
Forge version: Download from server 1 – Download from server 2
Fabric/Quilt version: Download from server 1 – Download from server 2
For Minecraft 1.20.4
Forge version: Download from server 1 – Download from server 2
NeoForge version: Download from server 1 – Download from server 2
Fabric/Quilt version: Download from server 1 – Download from server 2