Chest loot

This table summarizes the average quantity of each item that can be found in a naturally-generated chest, depending on its location.

Setblock
In 1.12 and below, the /setblock command can be used to place a chest. Use the command '/setblock ~ ~ ~ minecraft:chest 2 replace {LootTable:"chests/simple_dungeon"}' to set the chest. This command set a dungeon chest. This command can be used to generate a chest minecart with a loot table: '/summon chest_minecart ~ ~ ~ {LootTable:"chests/simple_dungeon"}' In 1.13 and above, change to '/setblock ~ ~ ~ chest{LootTable:"chests/simple_dungeon"} replace'

Note that this artificial chest is random every time you place one, no matter the location. That is a difference between normal natural chests and artificial loot tables chests. You can set the seed of the loot table using LootTableSeed, by default it is the world seed.

History
Botín de los cofres Récompenses coffres チェストの戦利品 상자 전리품 Pilhagem de baú 箱子战利品