ModsFinder

PetProtect

by sylvxa

Owners who want tamed animals to survive player attacks can use PetProtect, a server-side mod that sets which damage and attacks reach tamed pets.

FabricNeoForgeServer-side onlyMIT LicenseOpen source1.21 – 26.2

What it does

PetProtect controls how tamed mobs take damage from players and how they fight back. A global toggle switches the rules on or off, and each option then decides a separate case: whether environmental or mob damage still reaches pets, whether pets can die at all, whether a Totem of Undying is used when a pet would die, and whether pets attack players.

The mod also covers owners and creative players. One option lets an owner damage or kill their own pet regardless of the other rules, and another lets creative players damage pets regardless of the rules. The mod requires Fabric API. It runs on the server only, so players join without installing anything, and it is licensed under the MIT License, which makes it open source. Files are published for Fabric and NeoForge across 16 release versions, 1.21 – 26.2, with 2.0.0 for 26.2 as the latest build on each loader.

Key features

  1. Global toggle

    A single switch turns all PetProtect protection on or off without changing the individual settings.

  2. Pet death prevention

    Decides whether tamed pets can die under any circumstances, and can use a Totem of Undying effect to prevent a fatal hit.

  3. Pet attack control

    Sets whether pets attack players, so protected animals can be kept passive toward the people who own or visit them.

  4. Owner and creative exceptions

    Lets owners damage their own pets when enabled, and lets creative players damage pets regardless of the other rules.

Compatibility

Latest build for each game version and loader.

26.x4 of 4 versions with builds
26.22.0.02.0.0
26.1.21.1.4Not available
26.1.11.1.4Not available
26.11.1.4Not available
1.21.x12 of 12 versions with builds
1.21.111.1.4Not available
1.21.101.1.2Not available
1.21.91.1.2Not available
1.21.81.1.2Not available
1.21.71.1.2Not available
1.21.61.1.2Not available
1.21.51.1.1Not available
1.21.41.1.1Not available
1.21.31.1.1Not available
1.21.21.1.1Not available
1.21.12.0.02.0.0
1.211.1.1Not available
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Who it’s for: Server owners and survival players who keep tamed animals on a multiplayer world and want damage from other players blocked.

How it compares

Full comparison

Second Chance is open source under the MIT License and published for 1.21.5 – 26.2 on Fabric and NeoForge, with a different focus on pet revival. Pet Shield runs on Fabric and NeoForge for 1.21.1 – 26.2 but is not open source and is licensed as All rights reserved. Transfer Pet Owner is open source under the MIT License and covers 1.21 – 26.3 on four loaders; it is meant for servers, with clients free to join without it.

ModLoadersGame versionsEnvironmentUpdated
PetProtectFabric and NeoForge1.21 – 26.2Server-side only2026-07-20
Second ChanceFabric and NeoForge1.21.5 – 26.2Server-side only2026-08-06
Pet ShieldFabric and NeoForge1.21.1 – 26.2Server-side only2026-07-07
Transfer Pet OwnerFabric, Forge, NeoForge and Quilt1.21 – 26.3Server required, client optional2026-09-28

Questions

Does PetProtect need Fabric API?

Yes. Fabric API is a required dependency, so it must be installed next to PetProtect on the server.

Does every player need PetProtect installed?

No. The mod is server-side only, so the server runs it and players join without installing anything.

Can a pet still die if the owner attacks it?

Only if the owner damage option is enabled, which lets owners harm and kill their own pets whatever the other rules say.

Which versions does PetProtect support?

Files cover 1.21 – 26.2 on Fabric and NeoForge, with the latest file, 2.0.0, built for 26.2.

In the catalog

PetProtect is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 13,894 mods support Minecraft 26.2.

More from sylvxa

All projects

Similar mods

What the author says

The configuration (config/petprotect.json) can be reloaded using the /petprotect reload command.
sylvxa, on the Modrinth page

Official listing

Owner
sylvxa
Published
2024-10-14
Updated on Modrinth
2026-07-20
Facts verified
2026-10-15

Tags