minecraft.wiki-mirror/wiki_backup/chest loot.txt
2024-12-20 20:12:54 -05:00

130 lines
8.8 KiB
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{see also|Mob loot}}
'''Generated loot''' is a common way of finding naturally generated items. Generated loot occurs in naturally spawning [[structures]], when a chest or another container is randomly generated to contain items from that structures [[loot table]].
== Locations ==
The following locations only generate {{BlockLink|chest|chests}} containing loot:
* {{EnvLink|Bonus Chest}}
* {{EnvLink|Monster room}}
* {{EnvLink|Stronghold}}
* {{EnvLink|Village}}
* {{EnvLink|Nether fortress}}
* {{EnvLink|End city}}
* {{EnvLink|Igloo}}
* {{EnvLink|Woodland mansion}}
* {{EnvLink|Shipwreck}}
* {{EnvLink|Buried treasure}}
* {{EnvLink|Pillager outpost}}
* {{EnvLink|Bastion remnant}}
* {{EnvLink|Ruined portal}}
* {{EnvLink|Ancient city}}
The following location also generate loot but in other blocks or entities:
* {{EnvSprite|mineshaft}},{{EnvSprite|badlands mineshaft}}[[Mineshaft]] : {{EntitySprite|Minecart with Chest}}[[Minecarts with chests]]
* {{EnvLink|Jungle pyramid}} : {{BlockLink|Chest}}s, {{BlockLink|Dispenser}}s
* {{EnvLink|Desert pyramid}} : {{BlockLink|Chest}}s, {{BlockLink|Suspicious sand}}s
* {{EnvLink|Desert well}} : {{BlockLink|Suspicious sand}}s
* {{EnvLink|Ocean ruins}} : {{BlockLink|Chest}}s, {{BlockLink|Suspicious sand}}, {{BlockLink|Suspicious gravel}}
* {{EnvLink|Trail ruins}} : {{BlockLink|Suspicious gravel}}
* {{EnvLink|Trial chambers}} :
** {{BlockLink|Chest}}s, {{BlockLink|Barrel}}s, {{BlockLink|Dispenser}}s, {{BlockLink|Decorated pot}}s
** {{BlockLink|Vault}}s, {{BlockLink|ominous vault}}s, {{BlockLink|Trial spawner}}s, {{BlockLink|ominous trial spawner}}s
Structures appearing in April Fools updates that generate loot:
* {{EnvLink|Bonus barrel}}s : {{BlockLink|Barrel}}s
* {{EnvLink|Ruined Portatol}} : {{BlockLink|Chest}}s
* {{EnvLink|Potato Mineshaft}} : {{EntityLink|Minecart with chest}}s
* {{EnvLink|Lunar base}} : {{BlockLink|Chest}}s, {{BlockLink|Shulker box}}es
== 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 [[hopper]] under it, inserting an item using a hopper, or destroying it. ([[Trial spawner]]s and [[vault]]s 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 [[Java Edition 1.12]] and below, the {{cmd|setblock}} command can be used to place a chest.
The command {{cmd|/setblock ~ ~ ~ minecraft:chest 2 replace {LootTable:"chests/simple_dungeon"} }} sets the chest to a dungeon chest. For a minecart chest, use {{cmd|/summon chest_minecart ~ ~ ~ {LootTable:"chests/simple_dungeon"} }} instead.
In [[Java Edition 1.13]] and above, the syntax has changed to e.g. {{cmd|/setblock ~ ~ ~ chest{LootTable:"chests/simple_dungeon"} replace}}
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.
== History ==
{{info needed section|Pocket/Console/Bedrock history}}
{{HistoryTable
|{{HistoryLine|java infdev}}
|{{HistoryLine||20100625-1917|Added dungeons with their chests.}}
|{{HistoryLine|java alpha}}
|{{HistoryLine||v1.0.4|Added [[redstone dust]] to dungeon chests, sometime between its introduction in [[Alpha v1.0.1]] and 1.0.4.}}
|{{HistoryLine||v1.0.14|Added the newly introduced ''13'' and ''cat'' music discs to dungeon chests.}}
|{{HistoryLine|java beta}}
|{{HistoryLine||1.4|[[Cocoa beans]] could be found in dungeon chests.}}
|{{HistoryLine||1.8|dev=Pre-release|Added mineshafts with their chests.
|Added strongholds with library and storeroom chests.}}
|{{HistoryLine|java}}
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 3|Strongholds now also have chests in corridor altars.}}
|{{HistoryLine||1.1|dev=12w01a|Village blacksmith houses now generate with chests.}}
|{{HistoryLine||1.3.1|dev=12w16a|Bonus chests introduced.}}
|{{HistoryLine|||dev=12w21a|Added jungle and desert temples with their chests.}}
|{{HistoryLine||1.4.6|dev=12w50a|Enchanted books added to dungeon, temple, mineshaft and stronghold chests.}}
|{{HistoryLine||1.6.1|dev=13w16b|Name tags are added to dungeon chests.}}
|{{HistoryLine|||dev=13w18a|Cocoa beans are removed from dungeon chests.
|Dungeon chest probabilities are adjusted.
|Chests now generate in Nether fortresses.
|Recently introduced, horse armor can now be found in jungle & desert temple, dungeon, Nether fortress, stronghold altar and village chests; iron horse armor can additionally be found in mineshaft chests.}}
|{{HistoryLine||1.7.2|dev=1.7-pre|Acacia wood can now be found in bonus chests.}}
|{{HistoryLine||1.8|dev=14w30a|Obsidian can now be found in nether fortress chests.
|Music discs are made more rare in dungeon chests.}}
|{{HistoryLine||1.9|dev=15w31a|Added end cities with their chests.}}
|{{HistoryLine|||dev=15w43a|Added igloos with their chests.
|Reduced nether fortress loot from 25 stacks to 24.
|Increased stronghold library loot from 14 stacks to 210.
|Changed enchanted books rate in stronghold libraries, from groups of 15 with weight 2, to single books with weight 10.
|Wood in bonus chests can now be of any type, rather than just acacia and oak.
|Planks in bonus chests can now be of any type, rather than just oak.}}
|{{HistoryLine|||dev=15w43b|Changed golden apples in igloo chests to a 100% chance.}}
|{{HistoryLine|||dev=15w44a|Chests in mineshafts, desert pyramids, simple dungeons and bonus chests pull loot from multiple pools, and their items are significantly rebalanced.
|Saddle and iron horse armor are removed from mineshaft chests; name tag, torch, golden apple, enchanted golden apple, powered rail, detector rail, and activator rail are added.
|Spider eye, gunpowder, string, sand, golden apple, and enchanted golden apple are added to desert chests.
|Salmon is added to bonus chests. This chest now always contains one [[axe]], one [[pickaxe]], some food, and some [[wood]] items. Sticks and [[planks]] are made more plentiful.
|[[Bone]], [[rotten flesh]], [[gold ingot]], [[coal]], [[enchanted golden apple]], [[melon]], [[pumpkin]] and [[beetroot seeds]] are added to simple dungeon chests.}}
|{{HistoryLine||1.11|dev=16w39a|Added woodland mansions with their chests.}}
|{{HistoryLine||1.13|dev=18w09a|Added underwater ruins with their chests.}}
|{{HistoryLine|||dev=18w10a|Added buried treasure with their chests.}}
|{{HistoryLine|||dev=18w11a|Added shipwrecks with their chests.}}
|{{HistoryLine||1.14|dev=18w43a|Added bamboo and suspicious stew to shipwreck chests. (Verify)}}
|{{HistoryLine|||dev=18w47a|Added pillager outposts with their chests.}}
|{{HistoryLine||1.16|dev=20w16a|Added bastion remnants and ruined portals with their chests.}}
|{{HistoryLine|||dev=20w17a|Removed netherite gear, made ancient debris and netherite scrap less common, and added enchanted crossbows to bastion remnant chests.}}
|{{HistoryLine|||dev=20w18a|Weight of golden apples in ruined portal chests decreased from 40 to 15.}}
|{{HistoryLine||1.17|dev=21w13a|[[Moss block]]s can be found in supply chests.}}
|{{HistoryLine||1.19|dev=Deep Dark Experimental Snapshot 1|Added ancient cities with their chests.}}
|{{HistoryLine|||dev=22w14a|Updated the loot table with echo shards.}}
|{{HistoryLine||1.19.4|exp=Update 1.20|dev=23w04a|Added smithing templates inside various chests.}}
|{{HistoryLine|||dev=23w05a|The dune, coast, wild, and sentry armor trims now always generate two templates in a chest when found.
|Increased the chances for all smithing templates that generate in chest loot to spawn:
*Netherite upgrade chance to find increased from 3.2% to 10%.
*Coast chance to find increased from 11.1% to 16.7%.
*Dune chance to find increased from 11.1% to 14.3%.
*Eye chance to find increased from 4.7% to 10% in altar chests, and to 100% in library chests.
*Rib chance to find increased from 4.7% to 6.7%.
*Sentry chance to find increased from 20% to 25%.
*Snout chance to find increased from 4.7% to 8.3%.
*Spire chance to find increased from 4.7% to 6.7%.
*Vex chance to find increased from 4.7% to 50%.
*Ward chance to find increased from 4.7% to 5%.
*Wild chance to find increased from 20% to 33%.}}
|{{HistoryLine||1.20|dev=23w12a|[[Silence armor trim]]s are now found in ancient city chests.}}
}}
== Navigation ==
{{Navbox gameplay}}
[[es:Botín de cofres]]
[[fr:Récompenses coffres]]
[[ja:チェストの戦利品]]
[[ko:상자 전리품]]
[[pt:Saque de baú]]
[[zh:箱子战利品(结构索引)]]