
Don't Hit Me!
This mod can prevent 2 type of kicks which are usually caused by mods:
Attempting to attack an invalid entity(When installed on server): This mod can prevent this kick and print the entity attacked in log for debugging.Cannot cast xxx to SnifferEntity(When installed on client): This mod will redirect to correct logic.
These kicks usually don't happened in vanilla, so you may only need this in modpacks.
Suggestions for developers
- Do not make item entities, projectiles and experience orbs interactable.
- Prevent using entity status 63.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.1
- 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.
Verified by MCModsHub
- Ships as dont_hit_me-1.0-1.21.1-neoforge.jar — drop this file into the mods folder
- Download size: 7 KB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.