
Press the button next to the chest and every unlocked slot empties into it. The sword, pickaxe, torches and food were locked, so they stayed behind.

Hold Left Alt and click any inventory or hotbar slot to lock it. Locked slots are tinted blue and Safe Deposit never touches them. Click again to unlock.

Locks belong to the slot, not the item, so whatever you keep in that slot stays protected. They show in your normal inventory too and are saved between sessions.

The button shows up on chests, double chests, barrels, ender chests and shulker boxes. A shulker box never gets another shulker box pushed into it.

Safe Deposit fills what space there is and stops. Anything that doesn't fit stays where it was, so nothing ends up on the floor.

