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 with the world, containing loot. However, most of these will be Gold Chests, except ones near the surface. They usually contain useful accessories and other treasure. These chests too can be harvested and brought home once empty.

Loot
The loot for any given chest is determined by the layer 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.

Underground Jungle
In addition to the normal Gold Chests below the surface, Gold Chests inside Shrines can be found in the Underground Jungle. These special shrine chests contain loot unique to the Underground Jungle.

History
Coffre Chest Сундук