Data Command
Data Command lets datapacks define their own commands that receive parsed arguments directly inside functions, which vanilla datapacks cannot do alone.
What it does
Vanilla datapacks are limited to the built-in command set, and a trigger can only accept integers, so many systems that need real text input are out of reach. Data Command closes that gap by letting a datapack declare a command in JSON, receive arguments from the player, and run its own functions with those values. The commands are defined entirely through JSON and need no Java code from the pack author.
Data Command is a developer utility and library rather than a gameplay mod. It suits datapack authors who build authentication, town factions, in-game economies, class systems, dialogue, server tools and custom admin panels. Other projects can list it as a requirement, so most players will only meet it through the packs that need it.
The mod runs on Fabric for Minecraft 1.21.11 only. The server is the side that needs it, and clients need nothing extra for most packs. It is released as a first beta under the MIT License and is open source, so the source code and issue tracker are public. Because the APIs may still change in this early beta, packs that depend on it should be checked after each update.
Key features
JSON-defined commands
A datapack declares a custom command in JSON, with the arguments it accepts and the function it runs.
Typed argument parsing
Arguments reach the functions already parsed, so a pack can work with text as well as integers.
Functions receive input
Command input is passed into the datapack's functions, which lets build systems respond to what a player typed.
Developer library
The mod exists for other projects to depend on, so datapack authors can add it as a requirement.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Datapack UIs is server-side only, open source under the MIT License and published for 1.21.4 – 1.21.5, so it targets earlier builds than Data Command. Easy Factions is a client and server mod under All rights reserved and is not open source, published for 1.21.5 – 1.21.11, so it covers a faction system rather than a general command API. Vestigate is server-side only, under the MIT License, is not open source and covers 1.21.1 – 1.21.5.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Data Command | Fabric | 1.21.11 | Server-side only | 2026-06-17 |
| Datapack UIs | Fabric | 1.21.4 – 1.21.5 | Server-side only | 2025-03-26 |
| Easy Factions | Fabric | 1.21.5 – 1.21.11 | Client and server | 2025-12-21 |
| Vestigate | Fabric | 1.21.1 – 1.21.5 | Server-side only | 2025-05-05 |
Questions
Does Data Command need to be installed on the client?
Which Minecraft version does Data Command support?
Is Data Command ready for production use?
In the catalog
Data Command is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from TinySkyReally
Similar mods
What the author says
Data Command is a lightweight developer utility that allows datapacks to create fully custom commands with support for user input. Define commands in JSON, receive arguments inside functions, and build systems that would normally be impossible using vanilla datapacks alone. Minecraft datapacks have always been…
Official listing
- Modrinth page
- modrinth.com/mod/data-command
- Owner
- TinySkyReally
- Published
- 2026-06-17
- Updated on Modrinth
- 2026-06-17
- Facts verified
- 2026-10-15
