Treasure Bags Mod Wiki › Guides › Treasure Bags Core Mechanics
Treasure Bags Core Mechanics
The primary item added by this mod is the Treasure Bag. While it appears as a single item in the creative menu, its properties are determined by NBT data that links it to a specific 'Bag Type' defined in a data pack.
Usage
- Opening a Bag: Hold the Treasure Bag in your main hand and Right-Click. The loot will be rolled from the associated loot table and added directly to your inventory. If your inventory is full, the items will drop at your feet.
- Bulk Opening: To save time, you can Sneak + Right-Click while holding a stack of bags. This will open the entire stack at once and deposit all resulting loot into your inventory.
- Advanced Tooltips: By enabling advanced tooltips (F3 + H), you can see the internal Bag Type ID and the specific loot table assigned to that bag. This is invaluable for debugging data pack configurations.