Friendly Fire
by not_zeox
Friendly Fire, a Fabric client mod, stops a player's own attacks from damaging tamed pets and friendly mobs during a fight.
What it does
When a player swings at a pet or another friendly target, the attack is cancelled before any damage is dealt, so a fight near a tamed wolf or cat does not hurt it by accident. A hit against a protected target gives a no-damage sound, so the player gets a clear signal that the strike did nothing. The behavior is limited to the client, which changes how the local player's melee combat works.
The mod is aimed at survival worlds, SMPs and PvP servers, where a stray blow can kill a companion. It needs Fabric and nothing else, since no other mod is required. Only the client needs it: servers run without it, and the mod is released under the MIT License, but it is not open source. Files cover 1.21 – 26.1.2, and the latest file targets 26.1.2.
Key features
Protected pets
Tamed pets and other friendly targets cannot take damage from the player's own melee attacks.
Friend list
Mobs are treated as friendly by default, so a player does not need to configure each one.
Hit feedback
Attacks against protected targets play a no-damage hit sound, confirming that the blow was blocked.
Creative-mode behavior
The protection works as a client-side check, so a creative-mode player's attacks follow the same rule.
Compatibility
Latest build for each game version and loader.
26.x3 of 3 versions with builds
1.21.x12 of 12 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Fights near pets
A player fighting hostile mobs next to a tamed wolf can swing freely without losing the companion.
PvP and SMP servers
On servers where combat is frequent, players can keep their pets alive during skirmishes.
Who it’s for: Players who keep tamed animals or friendly mobs near their fights, on single-player worlds, SMPs or PvP servers, where a stray blow would otherwise cost a pet.
How it compares
Family Tree for Minecraft pets is a Fabric and NeoForge mod that is server required, with client optional, and is released under the MIT License, so it is open source; its files cover 1.21.1 – 26.3. Don't hit the bees is a Fabric client-side only mod under the MIT License, open source, for 1.21.10 – 1.21.11, and it protects bees rather than pets.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Friendly Fire | Fabric | 1.21 – 26.1.2 | Client-side only | 2026-04-21 |
| Family Tree for Minecraft pets | Fabric and NeoForge | 1.21.1 – 26.3 | Server required, client optional | 2026-09-30 |
| Don't hit the bees | Fabric | 1.21.10 – 1.21.11 | Client-side only | 2026-01-27 |
Questions
Does Friendly Fire need to be installed on the server?
Which loader does Friendly Fire use?
Does Friendly Fire require another mod?
In the catalog
Friendly Fire is one of 11,058 Mobs mods on ModsFinder, and one of 5,189 Mobs mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from not_zeox
Similar mods
What the author says
FriendlyFireBetter is a lightweight client-side Fabric mod that prevents you from accidentally attacking your own pets or friends. Perfect for Survival, SMPs, and PvP servers, this mod modifies client-side combat behavior to block melee attacks against friendly targets and provides clear feedback with a no-damage hit…
Official listing
- Modrinth page
- modrinth.com/mod/friendly-fire-better
- Owner
- not_zeox
- Published
- 2026-02-05
- Updated on Modrinth
- 2026-04-21
- Facts verified
- 2026-10-15
