
Attack Entity Filter
You can avoid accidentally injuring some entities.
About this Mod
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.
Available Versions
How to Install Attack Entity Filter on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.8).
Install Mod
Open the mod browser in the dashboard and search for "Attack Entity Filter". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.8, 1.21.7, 1.21.6 (+6 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Attack Entity Filter server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.8). You can switch loaders with one click in the panel.
Is Attack Entity Filter compatible with fabric?
Attack Entity Filter officially supports fabric for Minecraft 1.21.8, 1.21.7, 1.21.6. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Attack Entity Filter – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Attack Entity Filter consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Attack Entity Filter with just one click on your server.
Details
- License
- Creative Commons Attribution Non Commercial Share Alike 4.0 International
- Server-side
- Required