No Pet Friendly Fire

No pets were harmed in the making of this mod or gif.
Stop accidental clicks and stray arrows from hurting your own pets.
No Pet Friendly Fire prevents a player from damaging animals owned by that same player. Protection applies to direct melee attacks as well as player-fired projectiles such as arrows and tridents.
Supported vanilla pets include wolves, cats, parrots, horses, donkeys, mules and other entities using Minecraft's standard ownership system. Modded pets are supported when they use the same system.
Other players can still damage the pet, and environmental damage remains unchanged.
Fabric version needs Fabric API.