The preview tooltip is not limited to shulker boxes. When building or testing in Creative mode, you can also check the stored contents of regular containers and most modded containers directly in your inventory.
Picking Up Containers with Contents
1. Switch to Creative mode and locate a placed chest, furnace, barrel, or supported modded container that holds items.
2. Aim at the block and press Control + Pick Block to copy the container into your inventory along with its stored items.
3. Open your inventory and hover your cursor over the copied container item.
Checking the Stored Items
While hovering over the container in your inventory, press Shift to open the compact preview or Alt+Shift to open the full preview showing every item stack in its exact slot. This works for vanilla containers like chests, furnaces, and barrels, as well as most modded containers. If an item also carries a loot table and you have enabled loot table tooltips in your settings, its loot table name will appear inside the tooltip too.