/loot spawn ~ ~ ~ loot minecraft:chests/simple_dungeonThe /loot command generates items from a loot source and delivers them to a destination. Spawn a dungeon chest roll, give a player a Looting III mob drop, or fill a container with a fresh loot table roll, all through one command.
The command connects two halves: a destination (where the items go) and a source (where the items come from). Destinations spawn items in the world, give them to a player, insert into a block container, or replace an entity or block slot. Sources are any named loot table, a fishing simulation, a mob kill simulation, or a block mine simulation.
This generator builds the full syntax for you, including the nested subcommands for both halves. It supports every loot table category in Java Edition: archaeology, block drops, chest loot, entity drops, equipment tables, fishing, and more.
| Pattern | Effect |
|---|---|
| /loot give @s loot <table> | Give loot table results to yourself |
| /loot spawn <pos> loot <table> | Drop loot table results at a position |
| /loot insert <pos> loot <table> | Insert loot into a container block |
| /loot give @s fish <table> <pos> | Simulate fishing at a position |
| /loot give @s kill <entity> | Simulate killing an entity |
| /loot give @s mine <pos> | Simulate mining a block |
Tool matters: the mine source respects the tool you simulate. Mining diamond ore with a Fortune III pickaxe produces more diamonds than a bare hand, so point it at the mainhand or offhand item to control the drop.
The /loot command generates items from a loot source and delivers them to a destination. Sources include a loot table, fishing, a mob kill, or a block mine. Destinations include spawning in the world, giving to a player, inserting into a container, or replacing a slot. It simulates any loot mechanic without the actual action.
Four sources: loot (any loot table by ID), fish (fishing simulation at a position), kill (simulated entity kill), and mine (simulated block break). Each source respects the game's full loot calculation, including Luck, Looting, Fortune, and other modifiers.
Use /loot give @s loot minecraft:chests/end_city_treasure to give yourself a random roll from that table. The items follow the same probability rules as finding the chest in-game. Replace the loot table ID with any vanilla or custom table.
Yes. The mine source simulates breaking a block with the tool you specify, so mining diamond ore with a Fortune III pickaxe drops more diamonds than a bare hand. Point it at the mainhand or offhand item, or name a specific tool to roll the matching block drops.
Browse more Minecraft tools: