Minecart with chest

Minecraft Loot Command Generator

The /loot command is a target and a source bolted together: where the items go, and where they come from. That is why the argument order feels unusual. Pick both halves here and the generator assembles them in the right order.

  • Targets: spawn, give, insert and replace (block or entity slot)
  • Sources: loot table, mine, kill and fish
  • Tool or hand context for mine and fish sources

FAQ

How do I spawn loot-table drops at a position?

/loot spawn <x> <y> <z> loot <table> rolls the table and drops the items as entities at that spot, which is how you preview or hand out loot without breaking a block or killing a mob.

What sources can /loot pull from?

A loot table, a mined block (with an optional tool context), a killed entity, or a fished item. The target -- spawn, give, insert or replace -- decides where the rolled items go.

Why does mining a block with /loot drop nothing?

Many blocks only drop with the right tool or enchantment. Provide a tool context (for example a Silk Touch or Fortune pickaxe) in the mine source so the table rolls as it would in survival.