- Loaders
- FabricNeoForge
- Downloads on Modrinth
- 183K
- Followers on Modrinth
- 118
- versions
- 18
- Updated
- July 20, 2026Jul 20
- Published
- in 2024
Tamed mobs don't take damage · swipe
At a glance
Runs on Fabric and NeoForge
For Minecraft 1.21–26.2
Server only — players don't need to install it
Latest version — 2.0.0 from July 20, 2026
Requires Fabric API
License MIT — free
Where it's neededGame versions1.21–26.2
In gamenot neededOn serverrequired
Install on the server only; players don't need it
PetProtect
Protect tamed mobs from PvP.

Features
- Allows disabling tamed pet player damage and attacks
Configuration
prevent_pet_damage: Global toggle for the modonly_prevent_players: Decides if environmental/mob damage will affect pets or notprevent_pet_death: Decides whether pets will be able to die under any circumstancesapply_totem_effects: Decides whether Totem of Undying effects will be applied when preventing the death of a petprevent_pet_attack: Decides whether pets will attack playersallow_owner_damage: Decides whether owners should be able to damage (and kill!) their own pets regardless of other rulesignore_creative: Decides whether creative players can damage pets regardless of other rules
The configuration (config/petprotect.json) can be reloaded using the /petprotect reload command.
FAQ
How to install PetProtect?
Install Fabric for your Minecraft version, download PetProtect for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does PetProtect support?
PetProtect has builds for Minecraft 1.21–26.2.
Is PetProtect needed on the server?
Server only — players don't need to install it
License and source
MIT Licensefree to use and share with credit to the author