
Attack Entity Filter
I don't know my version or loader
This mod added some commands, which can be used to prevent oneself from accidentally harming entities.
1. /entityAttackBlacklist add
This command prevents player from attacking specified entities.
2. /entityAttackBlacklist remove
This command allows player to remove specified entities that they have previously marked as unattackable.
3. /entityAttackBlacklist addToAll
This command prevents player from attacking all entities of the specified type.
4. /entityAttackBlacklist removeToAll
This command allows player to remove all entities of the specified type that have marked as unattackable.
5. /entityAttackBlacklist clear
This command allows player to clear all entities that have marked as unattackable.
6. /entityAttackBlacklist getCanNotAttackEntity
This command can get all entities that the player cannot attack.
7. /entityAttackBlacklist getCanNotAttackEntityType
This command can get all entitiy types that the player cannot attack.
Other than that, operators can designate players after these commands.
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.6, 1.21.7, 1.21.8
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
- Ships as attack-entity-filter-1.0.0.jar — drop this file into the mods folder
- Download size: 22 KB
- Download link checked 10 Sept 2026 — working
These come from our own check of the pack file, not from the source page.