
Real Pet Guard
Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.
⬇ Download on ModrinthReal Pet Guard
Server-side mod for Minecraft. Simple and crystal-clear rules for player/pet combat.
Works on dedicated server and singleplayer (logic runs on the server side only).
Does not touch environmental damage, mob damage and pet (im)mortality. Aimed at survival / outdoor combat, not "cosy immortal pets".
Config (config/realpetguard.json)
{
"prevent_player_attacking_pets": "own",
"allow_crouch_bypass": "owner",
"prevent_pets_attacking_players": "no"
}
| Key | Values | Default | Meaning |
|---|---|---|---|
prevent_player_attacking_pets |
no own all |
own |
no: vanilla;own: each player cannot hurt their pets;all: no player can hurt any tamed pet. |
allow_crouch_bypass |
owner all |
owner |
Who may still kill a protected pet while sneaking. Ignored if prevent is no. |
prevent_pets_attacking_players |
yes no |
no |
yes: pets never target players (assist / retaliate are off) |
Guardrail
If you set prevent_player_attacking_pets=all, allow_crouch_bypass=owner and prevent_pets_attacking_players=no,
a random player could be bitten without any way to defend himself (hit the pet).
On load, the mod forces prevent_pets_attacking_players to yes and logs a warning.
Recommended defaults
Outdoor combat, simple
{
"prevent_player_attacking_pets": "own",
"allow_crouch_bypass": "owner",
"prevent_pets_attacking_players": "no"
}
- You do not one-shot your own dog in a fight
- Crouch + hit still lets the owner put a pet down
- Other players can kill your pets
- Pets still fight for you and retaliate
No PvP on pets, but…
{
"prevent_player_attacking_pets": "all",
"allow_crouch_bypass": "all",
"prevent_pets_attacking_players": "no"
}
Anyone can still crouch-kill a pet if needed; pets may still attack players who hurt their owner or hurt them.
License
Apache-2.0
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.3
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as realpetguard-1.0.0+26.3.jar — drop this file into the mods folder
- Download size: 31 KB
- Download link checked 12 Nov 2026 — working
These come from our own check of the pack file, not from the source page.