Storage items

Storage items are Furniture items that can be right-clicked after being placed, to reveal forty Inventory slots, in four rows of ten, for storing items. These items allow the player to offload excess items, freeing space in their inventory. They can also be used for organizing items, eg. one Chest can hold Ores, while another can hold Gems. Stationary storage can also be renamed, to further help in organizing items (see Rename below).

All Storage items must be Placed in order to access their contents or store items. They can be freed by a Pickaxe, but most need to be emptied beforehand (see Stationary vs. portable storage below). The Money Trough summons a Flying Piggy Bank, enabling players to access their Piggy Bank contents without having to place the Piggy Bank or any furniture for it to rest on.

Functions
Storage items have special functions which improve management, organization, and efficiency.

Loot All
Loot All removes all items from the storage item (starting from the top-left) and places them in the player's inventory (starting from the bottom right). This allows easy looting when scouting areas for treasure.

Deposit All
Deposit All has the opposite effect of Loot All, placing all items in the player's inventory (starting from the bottom-right) into the storage item (starting from the top-left). Any items which can be stacked, will be stacked. This is a quick way of offloading a bunch of items quickly when in a hurry. Items in the hotbar and items favorited with alt-click or the Right Trigger (console editions) will not be deposited.

Quick Stack
Quick Stack detects all of the items in your inventory that can be stacked with the same item inside the storage item, and places it in there. All items will be moved, creating new stacks in the storage if needed. Quick stack will also automatically convert coins in your piggy bank or safe.

In the main inventory screen, there is a button (below the coins) for "Quick stack to nearby chests". This does almost the same as if you manually clicked Quick Stack on each chest, but doesn't quick stack items from the hotbar, and also moves unstackable duplicates of items. It does work with non-chest storage, despite the tooltip. It also has a reach of 10 blocks vertically and 9 horizontally into the storage item.

Sort Items
Sort Items moves items around a chest, sorting them by rarity, and alphabetically within the same rarity tier. Items with higher rarity than others are placed starting from the top-left going through rarity, and ending at the bottom-right.

The player's inventory screen has a similar sort items button, found below the coins slot, which sorts items also by rarity, but this does not affect the hotbar.

Rename
Renaming allows you to type in a new name for the storage item, which is helpful for organizing large storage rooms. Names can be up to 20 characters long. This name will be visible above the list of functions, and will also replace the storage item's icon shown when hovering the mouse cursor over it. The name can be removed by entering a blank name, restoring the icon and default name. In console version, you must be offline to rename chests.

Restock
Restock allows you to restock all stackable items in your inventory using items from the chest. This can be helpful for restocking Potions, building blocks, and other expenses.

Stationary vs. portable storage
Stationary Storage is public, physical storage space. Portable Storage is an access point to additional private storage that can be accessed from anywhere as long as you have the item for it.

Stationary Storage
Items like the Chest, Barrel and Trash Can are examples of Stationary Storage. They have the following characteristics, which differ from Portable Storage:
 * These must remain in place while they contain items, and cannot be freed or picked up until emptied.
 * Each Stationary Storage item holds a separate 40-slot inventory where different items can be placed; For example, 2 Trash Cans and 3 Chests will offer the player 240 (when adding inventory) total slots of storage.
 * Stationary Storage contents are saved with the World data, as opposed to the Character data, and will therefore not be available to players when visiting other Worlds or multiplayer servers. When placing items in Stationary Storage in a multiplayer World, other players will be able to see and take its contents.
 * On multiplayer servers, while one player is accessing a Stationary Storage item, no other players may access it.
 * Quick stack to nearby chests stacks into Stationary Storage only.
 * You can craft items from a chest while it is open without having to place its contents in the player inventory beforehand.

Portable Storage
The Piggy Bank, Safe,, and are the only examples of Portable Storage. They have the following characteristics, which differ from Stationary Storage: The Money Trough shares its storage space with the piggy bank. The main differences are that the Money Trough does not need a solid block to be placed on, and when used summons a Flying Piggy Bank that can exist over any block and be accessed by right clicking on it, similarly to the piggy bank. The Money Trough is a rare drop from Dripplers and Blood Zombies during a Blood Moon.
 * These can be freed and picked up while they contain items, making them valuable tools for effectively increasing a player's inventory slots.
 * All Portable Storage items of the same type share the same inventories; For example, purchasing multiple Safes will not offer the player more inventory slots, but will offer more points of access to their Safe contents. The same rule applies to Piggy Banks; however, the Piggy Bank and Safe each has its own separate inventory. If the player has purchased the Defender's Forge, a Safe and a Piggy Bank, they will have a total of 120 Portable Storage slots, which is the maximum Portable Storage that any one character can have. Even if a player purchases 3 Safes and 2 Piggy Banks, they will still have no more than 80 total Portable Storage slots.
 * Portable Storage contents are saved with your Character data, as opposed to the World data. You take their contents with you from World to World, and from Server to Server. On multiplayer servers, other players accessing a piggy bank you placed will see their Portable Storage, rather than yours. Other players will never have access to items in your Portable Storage.
 * On multiplayer servers, multiple players can access the same Portable Storage item at the same time.
 * Moving coins you gather into Portable Storage periodically is useful, especially when exploring new or hazardous areas. Coins stored there will not be lost in case of death, even if the Portable Storage device containing them is in your character's inventory at the time.
 * Portable Storage items cannot be renamed.
 * You can purchase items using all money in your character storage - including money in your inventory, Piggy Bank, Safe, and Defender's Forge.
 * Quick stack to nearby chests does not stack into Portable Storage.
 * The slots of portable storage inventories are a slightly lighter pink in color, as opposed to the maroon color of stationary storage slots. This helps in quickly identifying which type of storage you're accessing.

Showcase Storage

 * Armor and Vanity items can be placed on Mannequins and Womannequins.
 * Weapons and many Tools can be placed on Weapon Racks.
 * All kinds of items can be placed in Item Frames.

Trivia

 * Two methods of portable storage can be purchased from the Merchant, 1 gold for the Piggy Bank and 20 gold for the Safe.

History
收纳物品