Minecraft wiki entry for Chest, associated text: Chests open when used. To move items between the chest inventory and the player inventory or hotbar while the chest GUI is open, drag or shift-click the items. Holding ⇧ Shift and double-clicking while holding an item moves all items of the type clicked on in or out of the chest, to the extent that space is available for them.‌[Java Edition only] To exit the chest GUI, use the Esc control.