Shulker Box

A shulker box is a block that can store and transport items.

Breaking
Shulker Boxes can be mined with any tool or by hand, but using a pickaxe is the quickest method.

Creative
When instantly mined in creative mode, shulker boxes will drop as an item if there are items stored within.

Usage
Unlike other storage units, such as chests, shulker boxes keep their items when broken, which can be retrieved when placed again. Shulker boxes will drop as an item if pushed by pistons, and can be placed using dispensers. When holding a shulker box with items inside, the items will be listed as properties.

Shulker boxes can be stored in other containers, though they cannot be stored in other shulker boxes.

A shulker box has 27 inventory slots, the same number as a chest.

By default, the GUI of a shulker box is labeled "Shulker Box", but this name can be customized by naming it in an anvil before placing it, or by changing the  tag using the  command.

Block entity
A shulker box has a block entity associated with it that identifies its contents. The block's block entity ID is.

Item data
Shulker boxes, as items, use an NBT tag  to indicate the contents and details of the box when it is placed.

''The following NBT structure is provided to show how the  tag is organized, and is not comprehensive above the   tag. The full NBT for an item can be found here.''


 * Entity data
 * : The item
 * : Additional information about the item. This tag is optional for most items.
 * : The details of the shulker box


 * : An item, including the slot tag. Shulker box slots are numbered 0–26, 0 starts in the top left corner.
 * : Optional. Loot table to be used to fill the shulker box when it is next opened, or the items are otherwise interacted with.
 * : Optional. Seed for generating the loot table. 0 or omitted will use a random seed.
 * : Optional. Seed for generating the loot table. 0 or omitted will use a random seed.

Trivia

 * When opened with an entity on top, they will rise up half a block. This stretch also occurs to the box's hitbox.
 * When destroyed by an explosion, the block will always drop as an item.