Loading...
Beta Modpages Unclaimed

Friendly Fire

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

0 Likes
6143785 Downloads
Created by DarkhaxDev

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?

 


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


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Alex's Mobs

85+ New mobs with stylistic quality above the default game.

Goblin Traders

Adds goblins that you can find underground with unique and useful trades!

Doggy Talents

Talents, new models, new AI, beds and more!

Bad Mobs

A mod to blacklist mobs from spawning.