
creative-hit-mod
In vanilla Minecraft, attacking a player in Creative mode does nothing — Creative players are invulnerable by default. This mod changes that: when you hit a Creative-mode player, the mod simulates the hitting
About this Mod
Creative Hit Mod
A Fabric client-side mod for Minecraft 1.21.11
In vanilla Minecraft, attacking a player in Creative mode does nothing — Creative players are invulnerable by default. This mod changes that: when you hit a Creative-mode player, the mod sends the /damage <target> 1 generic_kill command to the server, dealing 1 point of unavoidable damage.
How it works
- You hit another player who is in Creative mode.
- The mod intercepts this via a Mixin into
ClientPlayerInteractionManager#attackEntity. - It sends a
CommandExecutionC2SPacketwith the commanddamage <target> 1 generic_killdirectly to the server. - The server executes the command, dealing 1 HP of
generic_killdamage — this bypasses Creative invulnerability, armor, and resistance effects.
Why this approach?
The mod uses CommandExecutionC2SPacket (not sendChatCommand) to bypass Minecraft's chat signing system. Modern Minecraft signs chat commands with cryptographic keys; sending the packet directly avoids any signing failures or silent drops.
Permission checks are left to the server — if you're not OP'd, the server simply rejects the command.
Requirements
| Requirement | Version |
|---|---|
| Minecraft | 1.21.11 |
| Fabric Loader | ≥0.16.x |
| Fabric API | Any compatible release |
Installation
- Install the Fabric Loader for Minecraft 1.21.11.
- Place the mod JAR in your
mods/folder. - Ensure you are OP'd on the server (
/op <yourname>), or that cheats are enabled in singleplayer. - That's it — no configuration needed.
Permissions
The /damage command requires GAMEMASTERS permission level (OP level 1+). The mod does not check permissions client-side — it sends the packet and lets the server enforce access.
- Singleplayer: Always enabled (cheats implicitly on).
- Server: You must be an operator (
/op). The default/oplevel (permission level 2 →OWNERS) is more than sufficient.
Technical details
- Client-side only: The mod runs entirely on the client via a Mixin. No server-side installation is required.
- Damage type:
minecraft:generic_kill— tagged withBYpASSES_INVULNERABILITYandBYPASSES_RESISTANCE. Deals 1 HP per hit regardless of Creative mode, armor, or potion effects. - Packet: Uses
CommandExecutionC2SPacketdirectly to avoid Minecraft's chat signing layer.
Building from source
./gradlew build
The built JAR will be in build/libs/creative-hit-mod-<version>.jar.
License
MIT
Available Versions
How to Install creative-hit-mod 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.11).
Install Mod
Open the mod browser in the dashboard and search for "creative-hit-mod". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
creative-hit-mod 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.11). You can switch loaders with one click in the panel.
Is creative-hit-mod compatible with fabric?
creative-hit-mod officially supports fabric for Minecraft 1.21.11. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with creative-hit-mod – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if creative-hit-mod 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 creative-hit-mod with just one click on your server.