About Friendly Fire
From ModrinthModifies combat to prevent friendly fire to pets and other mobs.
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 attacking their pets. This often happens during combat where the pet will jump in the way of an enemy. Some players also have issues with missclicking when trying to feed their pets food. For these reasons players often choose to leave their pets behind rather than taking them along on adventures. This mod aims to resolve this in a way that does not make pets unbalanced or overpowered.
How does it work?
After installing this mod pets will be immune to attacks from their owners. Pets will also be immune to damage from pets that have the same owner as them. Additionally baby animals will also be immune to attacks from all sources. If you need to kill a protected mob for some reason simply sneak/crouch while performing the attack. The mod also provides configuration options which can be used to change or disable the types of mobs that are protected.
Does this work with modded pets?
Yes modded pets should work fine. If a modded pet is not protected it is because the mod developer has not defined the entity as an ownable pet in the game code.
Tags
This mod provides several datapack entity tags to help improve the configuration of the mod. Datapacks are a very flexible way to configure the game and allow players, servers, other mods, and modpacks to configure certain properties.
- friendlyfire:bypass_pet - This is an item tag that allows items to bypass pet protections.
- friendlyfire:bypass_all - This is an item tag that allows items to bypass all protections offered by the mod.
- friendlyfire:general_protection - This is an entity tag that allows other mobs to be granted protection from combat damage.
This example datapack will add villagers and wandering villagers to the protection list. When working with datapacks it is highly recommended to use a mod like Open Loader that simplifies the process of installing datapacks.
Like the mod and want to support me?
This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
Highlights
From source dataGame versions
Supports 32 Minecraft versions, the newest being 26.3.
Loaders
Runs on Fabric, Forge, NeoForge and Quilt.
Footprint
Rated a light load on a server.
Friendly Fire on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
- Server side
- Required on the server
- Server type needed
- Fabric, Forge, NeoForge, Quilt
- Server load
- light
- Smallest plan we suggest
- Minecraft — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 26.3.0.1, released 2026-09-28
Game versions by loader
| Loader | Game versions | Newest |
|---|---|---|
| Fabric | 26.1 to 26.3 (5 versions) | 26.3 |
| NeoForge | 26.2 to 26.3 (2 versions) | 26.3 |
From 5 recorded builds of Friendly Fire.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 26.3.0.1 | 2026-09-28 | 26.3 | NeoForge |
| 26.3.0.1 | 2026-09-28 | 26.3 | Fabric |
| 26.2.0.1 | 2026-07-12 | 26.2 | Fabric |
| 26.2.0.1 | 2026-07-12 | 26.2 | NeoForge |
| 26.1.2.2 | 2026-07-12 | 26.1 to 26.1.2 (3 versions) | Fabric |
Run Friendly Fire on a Minecraft server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogCreatures & NPCs
Adds or changes creatures, NPCs and how they behave.
Runs on your server
From source side supportModrinth lists Friendly Fire as required on the server. Check its Modrinth page to see whether players need it too.
Compatibility
- Game
- Minecraft
- Loaders
- FabricForgeNeoForgeQuilt
- Runs on
- Serverrequired on the server
- Game versions
- 26.3 and 31 earlier
Verified at the source
- ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
- ✓AuthorDarkhax, as published on Modrinth
- ✓LicenseLGPL-2.1-onlyFree












