Friendly Guards
by Fluxx99
Friendly Guards stops Iron Golems and Guard Villagers from turning on players who hit them by accident, and it leaves their behavior toward hostile mobs unchanged.
What it does
Guard Villagers defenders normally become hostile after a player damages them. Friendly Guards disables that retaliation for damage sourced from a player, so an accidental hit no longer turns a defender against the player. Anger aimed at hostile mobs keeps working as before, so guards still fight monsters.
The mod is a lightweight Fabric addition that targets the damage source of a player's attack, and it does not change any other guard logic. It is server-side only, so players join without installing anything and the server alone runs the change. Guard Villagers (Fabric) Fork is required, because the mod is built to work with that fork.
Files are published for Fabric only, for game version 1.21.5, with 1.0.0 as the latest file from 2025-11-02. The mod is released under the MIT License and is not open source. The author notes that it was originally made for personal use and that updates and support are limited and infrequent.
Key features
Player-sourced retaliation disabled
Iron Golems and Guard Villagers no longer retaliate when the damage source is a player, which prevents accidental friendly fire from creating hostile defenders.
Hostile mob anger preserved
Defenders still become angry at and attack hostile mobs, so their normal combat behavior is kept.
Server-only setup
The change runs entirely on the server, and players can join without installing the mod.
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
Who it’s for: Server owners and players who run Guard Villagers on Fabric and want its defenders to stay friendly after accidental hits, without changing how they handle mobs.
How it compares
Villager Trade Guard is a Fabric mod for 26.1.2 that is client required and server optional, released under the MIT License and not open source, so it targets a different version and side. Zombified Piglin restore anger loot is a server-side Fabric mod with Apache License 2.0 that is open source and covers 1.21.5 – 26.3, which overlaps with the game version but affects piglin anger rather than guards. Durability Guard is client-side only, built for Fabric and NeoForge across 1.20 – 26.3, and is not a guard behavior mod.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Friendly Guards | Fabric | 1.21.5 | Server-side only | 2025-11-02 |
| Villager Trade Guard | Fabric | 26.1.2 | Client required, server optional | 2026-05-17 |
| Zombified Piglin restore anger loot | Fabric | 1.21.5 – 26.3 | Server-side only | 2026-09-17 |
| Durability Guard | Fabric and NeoForge | 1.20 – 26.3 | Client-side only | 2026-06-16 |
Questions
Does Friendly Guards need Guard Villagers (Fabric) Fork?
Does Friendly Guards have to be installed on the client?
Will Friendly Guards stop defenders from fighting hostile mobs?
In the catalog
Friendly Guards is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 15,307 mods support Minecraft 1.21.5.
More from Fluxx99
Similar mods
What the author says
DISCLAIMER: This was originally created for personal use, and updates or support may be limited or infrequent. A very lightweight Fabric mod for 1.21.5 that disables retaliation from Iron Golems and Guard Villagers when the damage source is a player. The goal is to prevent accidental friendly fire from turning…
Official listing
- Modrinth page
- modrinth.com/mod/friendly-guards
- Owner
- Fluxx99
- Published
- 2025-11-02
- Updated on Modrinth
- 2025-11-02
- Facts verified
- 2026-10-15
