Перейти к содержимому
Mineforgian

Friendly Fire

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

2.5M загрузок252 подписчиковLGPL-2.1-onlyfabricforgeneoforgequilt

Обновлён 12 февраля 2026 г. · опубликован 8 июня 2023 г.

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?

Nodecraft sponsor banner

This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
18.0.8Релиз1.20.1fabric12 февраля 2026 г..jar (22 КБ)
18.0.8Релиз1.20.1forge12 февраля 2026 г..jar (25 КБ)
21.0.4Релиз1.20.4fabric24 мая 2024 г..jar (24 КБ)
21.0.4Релиз1.20.4neoforge24 мая 2024 г..jar (22 КБ)
21.0.4Релиз1.20.4forge24 мая 2024 г..jar (26 КБ)
18.0.7Релиз1.20.1fabric24 мая 2024 г..jar (23 КБ)
18.0.7Релиз1.20.1forge24 мая 2024 г..jar (25 КБ)
21.0.3Релиз1.20.4neoforge3 марта 2024 г..jar (11 КБ)
21.0.3Релиз1.20.4forge3 марта 2024 г..jar (16 КБ)
21.0.3Релиз1.20.4fabric3 марта 2024 г..jar (14 КБ)
18.0.6Релиз1.20.1forge22 февраля 2024 г..jar (15 КБ)
18.0.6Релиз1.20.1fabric22 февраля 2024 г..jar (13 КБ)
21.0.2Релиз1.20.4neoforge1 февраля 2024 г..jar (11 КБ)
21.0.2Релиз1.20.4forge1 февраля 2024 г..jar (15 КБ)
21.0.2Релиз1.20.4fabric1 февраля 2024 г..jar (13 КБ)

Показаны последние 15 из 98 версий. Все версии — на Modrinth.

Ченджлог

18.0.8Релиз1.20.1 · 12 февраля 2026 г.
  • Add a config option to disable crouching to bypass protections. (0d49dcb)
  • Fix issues with non-ascii characters in localization files. (e6504a7)
  • Update build dependencies. (310a3c2)

This project is made possible by Patreon support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Tobias Ward
  • techsquirrel
  • Pongo Sapiens
  • noobanidus
  • Darkosto
18.0.8Релиз1.20.1 · 12 февраля 2026 г.
  • Add a config option to disable crouching to bypass protections. (0d49dcb)
  • Fix issues with non-ascii characters in localization files. (e6504a7)
  • Update build dependencies. (310a3c2)

This project is made possible by Patreon support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • Tobias Ward
  • techsquirrel
  • Pongo Sapiens
  • noobanidus
  • Darkosto
21.0.4Релиз1.20.4 · 24 мая 2024 г.

This project is made possible by Patreon support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto
21.0.4Релиз1.20.4 · 24 мая 2024 г.

No changelog was specified.

21.0.4Релиз1.20.4 · 24 мая 2024 г.

This project is made possible by Patreon support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto
18.0.7Релиз1.20.1 · 24 мая 2024 г.

This project is made possible by Patreon support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto
18.0.7Релиз1.20.1 · 24 мая 2024 г.

This project is made possible by Patreon support from players like you. Thank you!

  • lothrazar
  • Spencer Gilbert
  • mums spaghetti
  • Pongo Sapiens
  • noobanidus
  • Darkosto
21.0.3Релиз1.20.4 · 3 марта 2024 г.

No changelog was specified.

Полная история изменений — на Modrinth.

Комментарии

Загружаем…