Entity Protector Mod (1.20.1, 1.20) – Keep Important NPCs Safe
Entity Protector Mod lets you control how mobs take damage and attack players with simple JSON config files. This mod shields chosen vanilla and modded mobs from normal hits, mob attacks, projectiles, and magic spells from Mine and Slash and Iron’s Spells ‘n Spellbooks. You can stop specific mobs from hurting players, set how long they stay angry, keep them peaceful until someone hits them first, and block attacks from tamed pets. All rules live in organized config folders and reload right inside the game without a restart. It runs on the server side only, so players can join multiplayer servers and custom modpacks with a normal vanilla client.
![]()
Features:
- Protects chosen vanilla and modded mobs, such as important NPCs, from normal hits, mob attacks, projectiles, and magic spells.
- Lets projectiles fly straight through protected mobs without doing any harm.
- Blocks magic spell damage from generic spells as well as Mine and Slash and Iron’s Spells ‘n Spellbooks.
- Controls how long mobs stay angry by letting you set a custom aggro timer in seconds.
- Keeps chosen mobs peaceful until a player hits them first.
- Stops specific vanilla and modded mobs from targeting or hurting players.
- Shields players and other mobs from attacks by tamed pets.
- Organizes rules into simple JSON files inside
config/Entityprotectorandconfig/Entityprotector/Entities/, with individual mob configs taking priority over the global config andGlobal_Mobs. - Reloads all config changes live while the game is running so you do not need to restart your world or server.
- Runs on the server side only, allowing players to join with a normal vanilla client.
Commands:
/entityprotector reload: Reloads all JSON config files right away while the game is running (requires permission level 2 / Op)./entityprotector cleartracking: Clears active mob tracking and aggro data (requires permission level 2 / Op)./entityprotector debug: Turns debug logging on or off to help check mob protection events (requires permission level 2 / Op).
Configuration:
entityId: Sets the target mob ID, supporting both vanilla and modded mobs.takeNormalDamage: Controls whether the mob can take normal damage.takeMobDamage: Controls whether the mob can take damage from other mobs.takeGenericSpellDamage: Controls whether the mob takes generic spell damage.takeMineSlashSpellDamage: Controls whether the mob takes spell damage from Mine and Slash.takeIronSpellDamage: Controls whether the mob takes spell damage from Iron’s Spells ‘n Spellbooks.canDamagePlayer: Controls whether the mob can hurt players.cancelAggroTime: Sets how long a mob stays angry, measured in seconds.neutralUntilAttacked: Keeps the mob peaceful until a player hits it first.
How to Use:
- Make sure you have permission level 2 (Op or Admin) on your server or world so you can run the reload and admin commands.
- Open the
config/Entityprotectorfolder created by Entity Protector Mod in your game or server folder to view your config files. - Go to the
config/Entityprotector/Entities/folder to add or edit a JSON file for a single mob; these files take priority over the global config andGlobal_Mobs. - Add the mob ID in
entityIdand adjust the protection or behavior rules you want, such astakeNormalDamage,takeMobDamage,canDamagePlayer,neutralUntilAttacked, or a timer in seconds forcancelAggroTime. - Save your JSON file and type
/entityprotector reloadin chat; the new rules apply right away without restarting the game or server. - Type
/entityprotector cleartrackingin chat to reset active mob tracking and aggro data, or type/entityprotector debugto turn debug logging on or off when checking protection events.
Screenshots:







How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Entity Protector Mod Download Links
For Minecraft 1.20.1, 1.20
Forge version: Download from Server 1 – Download from Server 2
Who do you usually play modded Minecraft with?
62 responses · See the full results →
0



















This post has no comments yet. Be the first — your comment will appear here.