nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
No Friendly Fire (Updated)

No Friendly Fire (Updated)

Mod

This mod disables friendly fire against your pets, unless you hit them when crouching

Client and server Game Mechanics MobsOptimizationUtility

5,391 downloads
15 followers

A simple mod that prevents players from attacking their pets by accident, making the game more convenient.

There is still an option for damaging your pets if you want to intentionally eliminate them. If you hit them while sneaking, it will still damage them. Otherwise, it sends you a hotbar message letting you know the attack was cancelled and informing on the sneaking mechanism. Careful while sneaking!

Should work with any tamed mobs from any mods, if they are registered as tamed and the attack is registered with you as being the attacker.

As of version 1.1, a bonus config file is included with an option to also disable accidental damage against your pets from other players who aren't the owner. They can still damage the pet by sneaking, if this is enabled.

If anyone has differing ideas on how you'd like it to work, feel free to let me know.

External resources


Project members

vllax

Member


Technical information

License
MIT
Client side
required
Server side
required
Project ID