NoSelfHarm
NoSelfHarm stops mobs of the same type from targeting themselves, which fixes the issue tracked as MC-110386 in Minecraft Java Edition.
What it does
Certain mobs, zombies among them, can end up attacking themselves when a nearby mob of the same type calls for help. The mod applies a single change that prevents a mob from selecting itself as a target, so the fix works without changing the mobs' other behavior. Files are published for Fabric only, for Minecraft 1.20.2, under CC0 1.0 Universal, which places the code in the public domain and means it is not open source.
Key features
Self-targeting fix
Mobs no longer pick themselves as a target when they call same-type mobs to help.
Single targeted change
The fix is one code change aimed at the targeting behavior, leaving other mob actions untouched.
Server-side operation
The change runs on the server, so players join without installing anything.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
In the catalog
NoSelfHarm is one of 29,952 Game mechanics mods on ModsFinder, and one of 19,630 Game mechanics mods for Fabric. 12,076 mods support Minecraft 1.20.2.
Similar mods
What the author says
This mod implements a fix for MC-110386, an issue in which certain mobs like zombies would attack themselves when targeted by a mob of the same type as themselves. The fix implements a single change: mobs will not target themselves when calling mobs of the same type for help.
Official listing
- Modrinth page
- modrinth.com/mod/noselfharm
- Owner
- darkaristella
- Published
- 2024-08-11
- Updated on Modrinth
- 2024-08-11
- Facts verified
- 2026-10-15
