Modscraper Modscraper Minecraft
Friendly Fire logo

Friendly Fire

Mod

by DarkhaxDev

Modifies combat to prevent friendly fire to pets and other mobs.

Type

Mod

CurseForge Downloads

12,712,162

CurseForge ID

255105

Modrinth Downloads

2,859,234

Modrinth ID

FTaA4pRW

Last Updated

Nov 6, 2026

Description

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?

 

logo-dark.png
This project is sponsored by Nodecraft. Use code Darkhax for 30% off your first month of service!

Compatibility

Mod Loaders

Client Neoforge Server

Game Versions

26.3

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

Included in Modpacks (153)

Show fewer
Craft to Exile 2 (VR Support) Craft to Exile 2 (VR Support) Isle of Berk (Claws of Berk) Isle of Berk (Claws of Berk) Valhelsia: Enhanced Vanilla Valhelsia: Enhanced Vanilla Enigmatica 6 - E6 - 1.16.5 Enigmatica 6 - E6 - 1.16.5 the horrors in the fog the horrors in the fog All of Fabric 6 - AOF6 All of Fabric 6 - AOF6 All of Fabric 7 - AOF7 All of Fabric 7 - AOF7 Infernal Origins Infernal Origins Cute Craft Cute Craft Elysium Days Elysium Days Avatar: The Four Elements Avatar: The Four Elements Enigmatica 6: Expert - E6E Enigmatica 6: Expert - E6E Enigmatica 9: Expert - E9E Enigmatica 9: Expert - E9E Enigmatica 8 - E8 - 1.18 Enigmatica 8 - E8 - 1.18 Dimension Zero Dimension Zero Enigmatica 9 - E9 - 1.19.2 Enigmatica 9 - E9 - 1.19.2 Isle of Berk (Scales and Skies) Isle of Berk (Scales and Skies) Mastering Magic | A Magic World with Quests! Mastering Magic | A Magic World with Quests! Fantasy Skies Fantasy Skies Mech & Magic Mech & Magic The Immersive Revolution: Rebirth The Immersive Revolution: Rebirth Medieval Immersed Medieval Immersed Adventure Life - Legacy Adventure Life - Legacy SRP: Quarantine Zone SRP: Quarantine Zone ABOE 3 - A Bit of Everything 3 ABOE 3 - A Bit of Everything 3 Creative Drawers Producer Creative Drawers Producer Tinkers' Survival Official Tinkers' Survival Official FTB NeoTech FTB NeoTech ElysiumCraft Rp ElysiumCraft Rp Horrorcraft Horrorcraft Uncle Genny's 100% Organic & Free-Range Modpack Uncle Genny's 100% Organic & Free-Range Modpack Calamity RPG III : Wounds of the World Calamity RPG III : Wounds of the World Crazy Crave 5 Crazy Crave 5 Rise of the Titans Rise of the Titans Isle of Berk Expanded Isle of Berk Expanded Gamma Files: The Lost Update Gamma Files: The Lost Update White Shrimp's Great Adventure White Shrimp's Great Adventure Mystic's Monstrosity - Greedy Edition Mystic's Monstrosity - Greedy Edition Avatar: The Elemental Chronicles Avatar: The Elemental Chronicles The End Of Herobrine The End Of Herobrine Too Many Mobs Too Many Mobs Enchanted Genesis Enchanted Genesis Ben  10 MINEDITION Ben 10 MINEDITION Kawaii Craftia Kawaii Craftia Beyond Fantasy - A Magic RPG Modpack Beyond Fantasy - A Magic RPG Modpack Adventure Life - New Life Adventure Life - New Life How To Train Your Dragon 100 Days Survival Winter Storm How To Train Your Dragon 100 Days Survival Winter Storm BelovodieCraft BelovodieCraft Farmystique: Farming & Magic Farmystique: Farming & Magic Another 7 Days to Mine Another 7 Days to Mine PokecraftZ (A Pokémon Zombie Survival RPG) PokecraftZ (A Pokémon Zombie Survival RPG) Zironic Waterworld: Ocean Survival Zironic Waterworld: Ocean Survival BeyondBerk BeyondBerk Community Community Realm of the Titans Realm of the Titans Calamity RPG LITE: The Modern Forge RPG Adventure ! Calamity RPG LITE: The Modern Forge RPG Adventure ! Unyielding Unyielding DragonCraft Isle and Chaos DragonCraft Isle and Chaos Jack Samurai Jack Samurai The Mermaid Isles The Mermaid Isles Vanilla Voyage - The Definitive Vanilla+ Pack Vanilla Voyage - The Definitive Vanilla+ Pack Born in Hell - Vampires Born in Hell - Vampires JujutsuCraftSen JujutsuCraftSen Community in the Skies Community in the Skies TerraFirmaCraft:Leap The Top TerraFirmaCraft:Leap The Top Refined Pack 2 Refined Pack 2 Cataclysmic Cataclysmic Guns Dungeons & Defense Guns Dungeons & Defense Heartful Memories Heartful Memories Animal Crossing+ Animal Crossing+ Lost in the Backrooms Lost in the Backrooms Project Infinity - Infinite possibilities, one world Project Infinity - Infinite possibilities, one world WurstTec WurstTec ZobraCraft ZobraCraft Luminous Swordsman - Curse of the Undead Luminous Swordsman - Curse of the Undead MonCraft- Monsters and Monster Girls MonCraft- Monsters and Monster Girls Big but smol and very cute Big but smol and very cute Isle of Berk Colonies Isle of Berk Colonies YaoPack 3 YaoPack 3 Legacy of the Avatar Legacy of the Avatar Claws and Skies (Isle of Berk) Claws and Skies (Isle of Berk) Minecolonies: Dragon Epoch Minecolonies: Dragon Epoch Dinosaur Survival Dinosaur Survival Homestead Horizons Homestead Horizons Nostalgic Craft 2 Nostalgic Craft 2 AroxAgain's Monster Hunter AroxAgain's Monster Hunter Tech's Community Server Tech's Community Server Beyond The Isle Beyond The Isle Infinity Pack 1 Infinity Pack 1 RPG 101: The Storm Scourge RPG 101: The Storm Scourge RageCraft Revived RageCraft Revived Integrated MineColonies Integrated MineColonies EVON'S BETTER CRAFT EVON'S BETTER CRAFT Mystic's Monstrosity - Avaricious Edition Mystic's Monstrosity - Avaricious Edition Elarion Elarion Velox Resurrected Velox Resurrected Stay-Clear! Stay-Clear! GR's RPG: medieval fantasy GR's RPG: medieval fantasy Flash's RPGpack Flash's RPGpack Integrated RPG Integrated RPG

External Resources