Karn's Useful Command

Karn's Useful Command

Unlock player NBT manipulation, Use various useful commands! Useful for datapack makers.

by
5.4K Downloads
fabricgame-mechanicsmanagementutility
Rent Server with this Mod

About this Mod

Features

  • Unlock Player Nbt Manipulation Restriction

Commands

Useful command for datapack/command makers

/absorption (entity) get|add|set: control entity's absorption health, or get its value.

/fire (entity) get|add|set: control entity's fire tick, or get its value.

/freeze (entity) get|add|set: control entity's freezing tick(powder snow effect), or get its value.

/gravity (entity) on|off: toggle entity's gravity.

/invulnerable (entity) on|off: toggle entity's invulnerability.

/motion (entity) add|set|forward: gives motion to entity. forward option is calculated with entity's rotation.

/player_abilities fly|flyspeed|walkspeed|instantBreak|allowBuild: modify player's abilities.
instantBreak: toggle creative-like one punch block breaking. (Might not work)
allowBuild: toggle block placing. This would allow adventure mode to place block, and disallow creative mode to place block.

/heal (entity) heals an entity.

/food (entity) hunger|saturation add|get|set control player's hunger or saturation

/fallfly make player fall-fly(elytra flying). Recommended to use per tick to actual fall fly.

/cooldown (player) (item) (cooldown) set item's cooldown to prevent right click. (i.e. shield, ender pearl, chorus fruit)

/motionupdate (player) Updates player's motion value. Useful for /data merge command.

/explosion (pos) (power) (exploder) (fire) (explosionType) Creates explosion!
You can leave out exploder, fire, explosionType for short usage.

/cameraset (target) spectate the target, but without limitation. You can spectate with any gamemode.

/hotbar (target) (number) set target's selected hotbar slot with given number.

/rotate (target) add|set (number) set|add target's rotation without teleportation

/damagetilt (target) (number)` tilt target's camera like when they are damaged

/ptime (target) (time) set target's world time to given time

/timeflow (target) rate|freeze (number|boolean) set target's tick rate to given argument

Available Versions

2.2-21.11release
MC 1.21.11fabric
January 14, 2026
2.2-21.10release
MC 1.21.10fabric
January 14, 2026
Karn's Useful Command 2.2-21.7release
MC 1.21.7, 1.21.8fabric
July 21, 2025
Karn's Useful Command 2.2release
MC 1.20.1, 1.21.4, 1.21.5fabric
May 12, 2025
Karn's Useful Command 2.1release
MC 1.21.4fabric
February 9, 2025

How to Install Karn's Useful Command on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "Karn's Useful Command". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.8 (+10 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Karn's Useful Command 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 Karn's Useful Command compatible with fabric?

Karn's Useful Command officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.8. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Karn's Useful Command – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Karn's Useful Command 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.

Rent Modded Server

Install Karn's Useful Command with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.111.21.101.21.81.21.71.21.51.21.41.21.11.211.20.61.20.5+3 more