Chests

The Chest is a Storage item used for holding other items, functionally identical to the Barrel. It can hold up to 40 item stacks in rows of 10x4 as of version 1.2. In previous versions, a chest could only hold 20 item stacks in rows of 5x4.

Chests can only be harvested with a Pickaxe when empty as of version 1.2. In previous versions, a chest required a Hammer to be harvested.

In addition to being craftable, chests are also generated on surface of the world and in shallow caves, containing loot. Loot containing containers found elsewhere are different, depending on the place:


 * Gold Chests are found Underground, in the Cavern layer, and in the Dungeon.
 * Living Wood Chests are found in hollow Living Trees.
 * Water Chests can be found anywhere there's enough water to place chests underwater, but most commonly appear in the Ocean.
 * Ice Chests can be found in the Underground Snow biome.
 * Shadow Chests are found in the Underworld.
 * Skyware Chests are found on Floating Islands.
 * Ivy Chests are found in Jungle Shrines.
 * Web Covered Chests are sometimes found in Spider Nests.

All of the above chests can be harvested with a Pickaxe when empty and then placed elsewhere for use by the player.

There's also Shadewood Chests, Ebonwood Chests and Rich Mahogany Chests, which can only be crafted by the player and are never randomly generated with a world.

Loot
The loot for any given chest is determined by the location in which it is found. Each chest contains a single "rare item" and an assortment of randomly chosen common items. The rare item is first placed in the chest, then each set of common items is checked to see whether or not it will be added. If a set is chosen to be added then a single item from the list is added to the chest.

Dungeon
Normal Chests found in the dungeon always contain a Golden Key as a rare item and contain the common loot from the surface layer. Gold Chests contain unique dungeon loot and require a Golden Key to be opened.

History
Coffre Chest Сундук