CurseForge · Minecraft mod
Datapack Commands
A Datapack Tool that allows datapacks to have custom commands
Quick answer
Which Datapack Commands release matches 26.1?
Datapack Commands datapackcommands-1.0.0.jar targets 26.1, 26.1.1, 26.1.2 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Datapack Commands required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Datapack Commands datapackcommands-1.0.0.jar need?
datapackcommands-1.0.0.jar on 26.1. Every mod below is checked against that same setup.
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 Datapack Commands without breaking your instance.
Built for Datapack Commands datapackcommands-1.0.0.jar on 26.1. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use datapackcommands-1.0.0.jar. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.
- 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.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside datapackcommands-1.0.0.jar. It opens that exact file at the source.
About this project
What does Datapack Commands add?

A Fabric mod for Minecraft 1.21.11 that lets datapack creators create custom slash commands that execute datapack functions. Commands are registered at runtime, persist across restarts, and show up in tab completion for all players — no server restart required.
How to Use
All management is done through the /cgen command, which requires operator level 4.
Creating a command
/cgen create <commandname> <namespace:function>
(Subcommands are also possible)
/cgen create "<commandname> <arg> <etc>" <namespace:function>
Registers a new /<commandname> that runs the specified datapack function when used. The command is available to all players immediately. If using a subcommand make sure to add a " around the main command and subcommand
Example:
/cgen create ""spawn zombie"" example:spawn_zombie
Players can now run /spawn zombie and it will execute example:spawn_zombie.
Removing a command
/cgen remove <commandname>
Unregisters the command immediately. Tab complete will suggest your registered commands after typing /cgen remove.
Example:
/cgen remove spawn
Listing commands
/cgen list
Shows all currently registered commands and the functions they map to.
Example output:
Registered commands:
/fasterpathsload -> fasterpaths:load
/heal -> utils:heal_player
Feedback toggle (default is off)
/cgen feedback on
/cgen feedback off
Controls whether the "Executed function: ..." message appears in chat when a player runs a custom command. Defaults to off. This setting persists across restarts.
Check
/cgen check
Returns 1 if the mod is running correctly. Useful for datapacks that want to verify that the mod is loaded.
Notes
- Commands are saved to
<world folder>/datapackcommands.jsonand automatically re-registered on server start. - The datapack function itself can still send its own chat messages (e.g. via
tellraw) regardless of the feedback setting. - Command names must be alphanumeric with underscores, up to 32 characters.
- Function names must follow the standard
namespace:pathformat.
Project description from CurseForge.
Pick your setup
Datapack Commands by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader build1.21.3
1 loader buildShowing the newest 12 of 17 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
Datapack Commands versions and loaders
datapackcommands-1.0.0.jar
19 Apr 2026
Looking for an older file? The official CurseForge project page is in Resources.