AntiFriendAttack
by CIOCOLATA47
AntiFriendAttack stops a player from hitting friends by accident in PvP, using a friend list that the client checks before an attack lands.
What it does
Players add other players to a friend list, and the mod blocks attacks against anyone on that list. The friend list is kept on the client, so only the player who sets it up is affected. Friends can be removed from the list at any time with the bind key, and the name tag color of a friend changes to aqua so that friends stand out in a crowd.
The mod is aimed at PvP play on multiplayer servers and in single-player worlds with other players, where accidental hits between allies are common. It can also play a sound when a player is added to the friend list, which confirms the change. The mod requires Fabric API and is published for Fabric and Quilt. It is installed on the player's side alone, so servers need nothing. The mod is released under the MIT License, but it is not open source, and files exist for 1.20.1 and 1.20.2.
Key features
Protected friends
Attacks against players on the friend list are blocked, so a friendly hit cannot be landed by mistake.
Aqua name tags
A friend's name tag is drawn in aqua, making allies visible at a distance during fights.
Friend sound cue
A sound plays when a player is added to the friend list, confirming the change without a chat message.
Bind key removal
A key binding removes a player from the friend list, so the list can change during play.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Team PvP
Teams on a server mark each other as friends so that area attacks and quick clicks do not hit allies in a crowded fight.
Duels with allies
Players who fight in mixed groups keep a fixed list of allies and remove them when the group splits up.
Who it’s for: Players who take part in PvP and fight alongside others on multiplayer servers or in single-player worlds with other players.
How it compares
NoFriendDamage is a Fabric mod for 1.16.5 only, under the MIT License and not open source; it is client-side only. PE Controls For Java is also a Fabric mod, client-side only and under the MIT License, but it covers 1.20.1 – 1.20.6 and changes controls rather than friend damage. Friends Don't Kill Each Other is client-side only and for 1.20.1, and it is released under All rights reserved rather than an open license.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| AntiFriendAttack | Fabric and Quilt | 1.20.1 – 1.20.2 | Client-side only | 2023-09-23 |
| NoFriendDamage | Fabric | 1.16.5 | Client-side only | 2025-10-02 |
| PE Controls For Java | Fabric | 1.20.1 – 1.20.6 | Client-side only | 2026-06-08 |
| Friends Don't Kill Each Other | Fabric | 1.20.1 | Client-side only | 2025-05-10 |
Questions
Does AntiFriendAttack need Fabric API?
Does the server need AntiFriendAttack?
Which versions does AntiFriendAttack support?
In the catalog
AntiFriendAttack is one of 17,631 Equipment mods on ModsFinder, and one of 8,894 Equipment mods for Fabric. 12,076 mods support Minecraft 1.20.2.
More from CIOCOLATA47
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/antifriendattack
- Owner
- CIOCOLATA47
- Published
- 2023-08-02
- Updated on Modrinth
- 2023-09-23
- Facts verified
- 2026-10-15
