Back to mods
creative-hit-mod project artwork

Modrinth · Minecraft mod

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which creative-hit-mod release matches 26.2?

Updated 4 months ago
Best match for your filters 1.0-SNAPSHOT
Game version 1.21.11, 26.1, 26.1.1
Loader Fabric

creative-hit-mod 1.0-SNAPSHOT targets 1.21.11, 26.1, 26.1.1 with Fabric. It must be installed on the client. Do not install it on the dedicated server. No extra mods listed for this file.

Where it goes

Is creative-hit-mod required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does creative-hit-mod 1.0-SNAPSHOT need?

1.0-SNAPSHOT on 26.2. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add creative-hit-mod without breaking your instance.

Built for creative-hit-mod 1.0-SNAPSHOT on 26.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0-SNAPSHOT. It targets 1.21.11, 26.1, 26.1.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0-SNAPSHOT. It opens that exact file at the source.

About this project

What does creative-hit-mod add?

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

  1. You hit another player who is in Creative mode.
  2. The mod intercepts this via a Mixin into ClientPlayerInteractionManager#attackEntity.
  3. It sends a CommandExecutionC2SPacket with the command damage <target> 1 generic_kill directly to the server.
  4. The server executes the command, dealing 1 HP of generic_kill damage — 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

  1. Install the Fabric Loader for Minecraft 1.21.11.
  2. Place the mod JAR in your mods/ folder.
  3. Ensure you are OP'd on the server (/op <yourname>), or that cheats are enabled in singleplayer.
  4. 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 /op level (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 with BYpASSES_INVULNERABILITY and BYPASSES_RESISTANCE. Deals 1 HP per hit regardless of Creative mode, armor, or potion effects.
  • Packet: Uses CommandExecutionC2SPacket directly 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

Project description from Modrinth.

Pick your setup

creative-hit-mod by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

creative-hit-mod versions and loaders

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.