Minecraft:Generated loot
More actions
Generated loot is a common way of finding naturally generated items. Generated loot occurs in naturally spawning Minecraft:structures, when a chest or another container is randomly generated to contain items from that structure’s Minecraft:loot table.
Locations
The following locations only generate Template:BlockLink containing loot:
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
- Template:EnvLink
The following locations generate loot in other blocks or entities:
Structures appearing in April Fools updates that generate loot:
| Template:EnvLink | Template:BlockLink |
| Template:EnvLink | Template:BlockLink |
| Template:EnvLink | Template:EntityLink |
| Template:EnvLink | Template:BlockLink, Template:BlockLink |
Behavior
The loot in naturally-generated containers is not determined upon the container's generation. The contents generate when a player interacts with the containers by opening it, placing a Minecraft:hopper under it, inserting an item using a hopper, or destroying it. (Minecraft:Trial spawners and Minecraft:vaults work differently; for their mechanics, see the respective pages).
This also means that if a loot container is generated in an older version of the game but has never been interacted with, it can still generate with new loot if it's opened for the first time in a newer version.
There are different kinds of loot tables, for example a desert temple or a stronghold. There can also be different loot tables for a certain structure, such as those in bastion remnants and shipwrecks.
Commands
In Minecraft:Java Edition 1.12 and below, the Template:Cmd command can be used to place a chest. The command Template:Cmd sets the chest to a dungeon chest. For a minecart chest, use Template:Cmd instead.
In Minecraft:Java Edition 1.13 and above, the syntax has changed to e.g. Template:Cmd
Such artificial chest is random every time player places one, no matter the location. That is a difference between normal natural chests and artificial loot tables chests. One can set the seed of the loot table using LootTableSeed, by default it is the world seed.
In Minecraft:Bedrock Edition, the Template:Cmd command can be used to give loot, spawn loot or place loot in a container. The command Template:Cmd can be used to give yourself loot in your inventory
You can use Template:Cmd to place loot inside a container if you input the right coordinates of the container.
History
Java Edition
Legacy Console Edition
Minecraft:es:Botín de cofres Minecraft:fr:Butin de structure Minecraft:ja:チェストの戦利品 Minecraft:ko:생성된 노획물 Minecraft:pt:Saque gerado Minecraft:zh:箱子战利品(结构索引)