
Karn's Useful Command
Unlock player NBT manipulation, Use various useful commands! Useful for datapack makers.
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
How to Install Karn's Useful Command 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 "Karn's Useful Command". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.8 (+10 more)
Server-side
✓ RequiredRecommended 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.
Similar Mods
Rent Modded Server
Install Karn's Useful Command with just one click on your server.