Home›Java›Datapacks›Commands to items
Commands to items
DatapacksJava

Commands to items

Java data pack listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by Lumareth · on Modrinth

⬇ Download on Modrinth

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

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more