Minecraft /loot command
Drops chest loot, mob drops or block drops wherever you want.
Syntax
/loot give <players> <source>
/loot spawn <targetPos> <source>
/loot insert <targetPos> <source>
/loot replace ...
Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.
Arguments
| Argument | What it does |
|---|---|
| <source> | One of the forms loot <loot_table>, kill <target>, mine <pos> or fish. |
Examples
/loot give @s loot minecraft:chests/simple_dungeon
Puts dungeon chest loot in your inventory.
/loot spawn ~ ~ ~ kill @e[type=zombie,limit=1]
Drops the items the zombie would drop, without killing it.
Good to know
- Loot is random: The same command can give a different result each time.
- One of the commands data pack makers use most.
How do I run this command?
Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).
Related commands
🎒 More Item commands
Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.