Minecraft Item Command Generator

The /item command replaces or modifies a single inventory slot without touching the rest of the inventory, which is what makes it the tool of choice for maps and datapacks. Choose the target slot, the source item or loot table, and the generator writes the replace or modify form for your version.

  • Slot targeting for players, entities and block containers
  • Replace from an item stack, another slot, or a loot table
  • Item modifiers applied through /item modify