MC Toolkit / Commands / Advanced Command Builder — Execute & Data / Item Command Generator
Item Command Generator
Build a /item command to replace an inventory slot with a new item or apply an item modifier — on a block (container) or an entity.
14 argument paths · Minecraft 26.2 · from Mojang's own command tree
/item modify block <pos> <slot> <modifier>/item modify entity <targets> <slot> <modifier>/item replace block <pos> <slot> from block <source> <sourceSlot>/item replace block <pos> <slot> from block <source> <sourceSlot> <modifier>/item replace block <pos> <slot> from entity <source> <sourceSlot>/item replace block <pos> <slot> from entity <source> <sourceSlot> <modifier>/item replace block <pos> <slot> with <item>/item replace block <pos> <slot> with <item> <count>/item replace entity <targets> <slot> from block <source> <sourceSlot>/item replace entity <targets> <slot> from block <source> <sourceSlot> <modifier>/item replace entity <targets> <slot> from entity <source> <sourceSlot>/item replace entity <targets> <slot> from entity <source> <sourceSlot> <modifier>/item replace entity <targets> <slot> with <item>/item replace entity <targets> <slot> with <item> <count>
Run these from an operator’s chat, a command block, or a function file. Execute is simplified here — chain the rows in the order you want them to run.
Looking for more Minecraft tools?
A suite of client-side generators, viewers and converters — all free, all in your browser.