Attack Entity Filter - Protection Against Accidental Attacks
The Attack Entity Filter mod provides players with a set of seven commands that allow configuring protection against accidentally dealing damage to various entities in Minecraft. This is particularly useful in situations where it's important to avoid unintended harm to specific mobs or creatures.
Main Management Commands
The system works through the /entityAttackBlacklist command with various parameters:
Adding Protection: Use /entityAttackBlacklist add <entities> to protect specific creatures from attacks. The /entityAttackBlacklist addToAll <entity type> command blocks attacks on all entities of the specified type.
List Management: To remove protection, use /entityAttackBlacklist remove <entities> for individual creatures or /entityAttackBlacklist removeToAll <entity type> for entire categories. Complete list clearing is available via /entityAttackBlacklist clear.
Viewing Settings
To check current restrictions, use /entityAttackBlacklist getCanNotAttackEntity to view protected entities and /entityAttackBlacklist getCanNotAttackEntityType to view protected entity types.
Server administrators can apply these commands to other players, providing additional control over gameplay.