Ender Chest

Ender chests are a type of chest that can store items, and whose contents can be accessed from anywhere in the world.

Breaking
Ender chests require a pickaxe to be mined. Otherwise, they drop nothing. Unless the pickaxe is enchanted with Silk Touch, the ender chest drops 8 obsidian. Any pickaxe allows the ender chest to drop either itself or 8 obsidian, despite obsidian itself only being obtainable with a diamond or netherite pickaxe.

Natural generation
An ender chest naturally generates alongside a chest in certain end city treasure rooms.

Usage
Ender chests can be opened by pressing the control. If a solid block is placed above an ender chest, it cannot open.

Ender chests can be used like normal chests, except all ender chests in the world are interconnected, including in different dimensions. The ender chest's inventory is also separate for each player; consequently, items stored in an ender chest cannot be seen or taken by other players. Also, items stored inside of an ender chest can be retained even if the player dies.

Another fact is that ender chest cannot be equipped to entities such as mules or donkeys, because these entities only support common chests.

Ender chests contain 27 slots for storage and can be placed next to other ender chests without joining; they cannot be combined into double chests.

Ender chests cannot be moved by pistons and do not interact with hoppers, droppers, or comparators.

Despite being comprised largely of obsidian, they are not immune to destruction by the ender dragon, which Mojang has confirmed to be intentional.

It is possible to greatly increase the space of an ender chest by pairing it with shulker boxes.

Light source
Ender chests emit a light level of 7.

Piglins
Piglins become hostile toward players who open or mine an ender chest.

ID




Metadata
$$, ender chests use the following data values:

Block data
An ender chest has a block entity associated with it that holds additional data about the block.

Inventory
The contents of an ender chest are not stored in the block but in the player-nbt under the tag "EnderItems".

Trivia

 * An ender chest's particles exist only in the 1 block radius around the chest, so if the chest is placed next to a wall its particles are not seen on the other side.
 * Unlike chests, changes to an ender chest's name are not reflected in its inventory GUI.
 * Unlike chests, when broken, it does not drop the items inside it, due to the fact that the items aren't only in that chest.
 * If all ender chests are broken, the items inside are inaccessible until a new ender chest is placed.
 * Ender chests render as a full block when in the inventory, but not when held or placed.
 * Ender chests cannot be locked by NBT tags.