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
- Loaders
- Fabric
- Downloads on Modrinth
- 256
- Followers on Modrinth
- 3
- version
- 1
- Updated
- May 14, 2026May 14
- Published
- in 2026
At a glance
Install in the game only; not needed on the server
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 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 command `damage 1 generic_kill` directly 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 `), 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 buildThe built JAR will be in `build/libs/creative-hit-mod-.jar`.
License
MIT
FAQ
How to install creative-hit-mod?
Install Fabric for your Minecraft version, download creative-hit-mod for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does creative-hit-mod support?
creative-hit-mod has builds for Minecraft 1.21.11–26.2.
Is creative-hit-mod needed on the server?
Client only — no need to install it on the server