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.

Java 26.2

/loot

Target Entity@p
Distance
x rotation
y rotation
Team
Name
XP Level

/loot

Generate loot into players, blocks, or the world.

/loot give @p loot minecraft:chests/simple_dungeon