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/Entityprotector and config/Entityprotector/Entities/, with individual mob configs taking priority over the global config and Global_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:

  1. Make sure you have permission level 2 (Op or Admin) on your server or world so you can run the reload and admin commands.
  2. Open the config/Entityprotector folder created by Entity Protector Mod in your game or server folder to view your config files.
  3. 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 and Global_Mobs.
  4. Add the mob ID in entityId and adjust the protection or behavior rules you want, such as takeNormalDamage, takeMobDamage, canDamagePlayer, neutralUntilAttacked, or a timer in seconds for cancelAggroTime.
  5. Save your JSON file and type /entityprotector reload in chat; the new rules apply right away without restarting the game or server.
  6. Type /entityprotector cleartracking in chat to reset active mob tracking and aggro data, or type /entityprotector debug to turn debug logging on or off when checking protection events.

Screenshots:

The mod menu interface displaying detailed information for Entity Protector Mod
Entity Protector Mod details listed in the in-game mod options menu
Typing chat commands for entity settings in a peaceful savanna village
Player testing entity protection chat commands inside a savanna village
JSON configuration file showing damage and behavior settings for a skeleton entity
Skeleton behavior and damage immunity settings organized in a custom JSON file
JSON configuration file setting damage immunity rules and aggression parameters for zombies
Zombie damage immunities and player targeting rules defined in JSON files
JSON configuration file defining entity properties and behavior for a summoned frog
Summoned frog entity properties and damage rules outlined in a JSON file
JSON configuration file enabling wolf like AI behavior for a vanilla wolf
Wolf damage flags and neutral combat behavior specified in JSON data
A JSON configuration file defining entity damage resistance and aggression behavior
Entity damage resistance and magic spell defense rules adjusted in JSON

Entity Protector Mod Download Links

For Minecraft 1.20.1, 1.20

Forge version: Download from Server 1 – Download from Server 2

Click to rate this post!
[Total: 2 Average: 5]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

Who do you usually play modded Minecraft with?

62 responses · See the full results →