Opening Bags Individually
To open a treasure bag, place it in your main hand by selecting it on your hotbar. Right-click while holding the bag to open it. The bag will be consumed, and its contents will be added directly into your inventory slots. If your inventory is completely full when you open the bag, the items will drop onto the ground at your feet, allowing you to clear out space and pick them up.
Opening an Entire Stack at Once
If you have collected multiple treasure bags of the same type and stacked them together, you do not need to open each bag one at a time. Press and hold the sneak key (Shift) while holding the stack of bags in your hand, then right-click. This will immediately open the entire stack all at once. Be sure to check your available inventory space before opening large stacks, as any loot that exceeds your inventory capacity will spill onto the ground around you.