
This datapack adds command support to items.
to add an executable command to your item, simply hold the item in your mainhand and run
/function addcommand:add {command:'CommandHere'}
if you want to make it one time use, run
/function addcommand:add_once {command:'CommandHere'}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.11
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.
Verified by MCModsHub
- Downloads as AddCommand-1.21.11-OneTime.zip
- Download size: 10 KB
- Download link checked 15 Sept 2026 — working
These come from our own check of the pack file, not from the source page.