Back to mods
Karn's Useful Command project artwork

Modrinth · Minecraft mod

Karn's Useful Command

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

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

Quick answer

Which Karn's Useful Command release should I use?

Updated 2 months ago
Latest stable file 2.3-26.3
Game version 26.3
Loader Fabric

Karn's Useful Command 2.3-26.3 targets 26.3 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Karn's Useful Command required on the client, server, or both?

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

Client Not supported
Dedicated server Required
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 server-only.

What else does Karn's Useful Command 2.3-26.3 need?

2.3-26.3. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Karn's Useful Command 2.3-26.3
required
Matching file found Matched file: 0.166.2+26.3

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Karn's Useful Command without breaking your instance.

Built for Karn's Useful Command 2.3-26.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.3-26.3. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

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

  4. 04

    Pick the file you checked

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

About this project

What does Karn's Useful Command add?

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

Project description from Modrinth.

Pick your setup

Karn's Useful Command by Minecraft version and loader

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

14 available setups

Showing the newest 12 of 14 game versions. Older files are in the list below.

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

Recent files

Karn's Useful Command versions and loaders

15 of 15 releases match

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