Friendly Fire
by Darkhax
Friendly Fire stops players from accidentally hurting their pets and other vulnerable mobs during combat and feeding.
What it does
Pets become immune to attacks from their owners, and to damage from other pets that share the same owner. Baby animals are immune to attacks from every source. A player who needs to kill a protected mob can sneak while attacking to bypass the protection. Configuration options change or disable which mob types are protected.
The mod targets a common problem: a pet stepping into the line of fire, or a misclick while feeding it, can cost a companion. Friendly Fire is meant to keep pets useful on adventures without giving them extra combat strength. Modded pets are protected when their developer has defined them as ownable pets in code.
Friendly Fire requires Bookshelf, Fabric API and Prickle. It is a client and server mod, so the server and every player need it. Builds cover 1.7.10 – 26.3 for Fabric, Forge, NeoForge and Quilt, and the code is under the GNU Lesser General Public License v2.1 only.
Key features
Owner-safe pets
Pets cannot be damaged by their owner or by pets belonging to the same owner.
Baby animal protection
Baby animals are immune to attacks from all sources.
Sneak to override
Crouching while attacking lets a player hit a protected mob on purpose.
Datapack entity tags
Entity tags let datapacks add mobs to the protection list or exempt items from it.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.20.x5 of 5 versions with builds
1.19.x4 of 4 versions with builds
1.18.x3 of 3 versions with builds
1.17.x1 of 1 version with builds
1.16.x3 of 3 versions with builds
1.15.x1 of 1 version with builds
1.14.x1 of 1 version with builds
1.13.x1 of 1 version with builds
1.12.x2 of 2 versions with builds
1.11.x2 of 2 versions with builds
1.10.x1 of 1 version with builds
1.9.x1 of 1 version with builds
1.8.x1 of 1 version with builds
1.7.x1 of 1 version with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Pets on adventures
Players can bring pets along without worrying about them stepping into an enemy's attack.
Who it’s for: Players who fight alongside pets and server owners who want a protected companion setup.
How it compares
PetMod is a client-side only Fabric mod for 26.2, released under the MIT License and not open source. Pet Owner is a client-side only mod for Fabric and Quilt, covering 1.16.2 – 1.21.10, and is open source under the MIT License. My Favorite Pet runs on client and server for 1.18.2 only, under the CC0 1.0 Universal license, and is open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Friendly Fire | Fabric, Forge, NeoForge and Quilt | 1.7.10 – 26.3 | Client and server | 2026-09-28 |
| PetMod | Fabric | 26.2 | Client-side only | 2026-06-21 |
| Pet Owner | Fabric and Quilt | 1.16.2 – 1.21.10 | Client-side only | 2025-10-10 |
| My Favorite Pet | Fabric | 1.18.2 | Client and server | 2022-06-03 |
Questions
Does Friendly Fire need Fabric API on every loader?
Can a server give villagers protection from attacks?
Do modded pets get protection automatically?
In the catalog
Friendly Fire is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 8,071 mods support Minecraft 26.3.
More from Darkhax
Similar mods
What the author says
The Friendly Fire mod will protect your pets and other vulnerable mobs from accidental damage. With this mod installed you will no longer need to worry about your pets jumping in front of your attacks or an accidental missclick with a weapon. Why would anyone need this? Many players have issues with accidentally…
Official listing
- Modrinth page
- modrinth.com/mod/friendly-fire
- Owner
- Darkhax
- Published
- 2023-06-08
- Updated on Modrinth
- 2026-09-28
- Facts verified
- 2026-10-15
