Treasure Bags
Treasure Bags lets data packs define any number of loot bags, each with its own name, colors and loot table, for Forge and NeoForge.
What it does
Bag types are set by data packs: each one gives a bag its name, colors and a loot table that decides the items it holds. Aside from a single first-join bag, the mod ships no obtainable bag types, so a world only gets new bags from a data pack the player installs or writes. A typical setup adds a bag type JSON file and a loot table for each bag, then links the bag into a loot table so mobs and chests can drop it. The mod includes two loot tables that cover broad groups of mobs, found under the entity group path in its data folder, and the wiki covers the details.
To open a bag, a player holds it and right-clicks; its contents go into the inventory, or onto the ground when space runs out. Sneaking while right-clicking opens the whole stack at once. With advanced tooltips enabled (F3+H), the tooltip lists the bag's type ID and loot table. The /treasurebags command gives specific bag types or lists the types that have loaded. Treasure Bags requires Silent Lib on both Forge and NeoForge. The environment is client and server, so the server and every player need the mod, and it is released under the MIT License with the source code published.
Key features
Data-driven bag types
Name, colors and loot table are all set in JSON, so new bag types need no code.
Entity loot groups
Two loot tables cover broad mob categories, so bags can be added to many drops at once.
Stack opening
Holding Shift while right-clicking empties a whole stack of bags in a single use.
Full inventory handling
Items that do not fit in the inventory drop on the floor instead of being lost.
Bag type commands
The /treasurebags command gives specific bag types and verifies which types are loaded.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
How it compares
Sleeping Bags is a client and server mod for Forge and NeoForge, released under All rights reserved and not open source, covering 1.19 – 26.3. Loot+ runs on client and server for Forge and NeoForge across 1.18.2 – 1.21.1 under All rights reserved, and is not open source. Treasure Bags covers only 1.19.4 – 1.21.1 for Forge and NeoForge, and is open source under the MIT License.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Treasure Bags | Forge and NeoForge | 1.19.4 – 1.21.1 | Client and server | 2026-02-14 |
| Sleeping Bags | Forge and NeoForge | 1.19 – 26.3 | Client and server | 2026-10-01 |
| Loot+ | Forge and NeoForge | 1.18.2 – 1.21.1 | Client and server | 2025-05-06 |
Questions
Does Treasure Bags require Silent Lib?
Does a server need Treasure Bags installed?
Which game versions have files?
Where do bags get added to loot tables?
More from SilentChaos512
What the author says
Treasure bags is just another loot bag mod, but fully controlled by data packs. You can add any number of bags across any number of data packs. Aside from one bag (which is given to players when they first join a world), the mod includes no obtainable bag types by default, you must download a data pack or create your…
Official listing
- Modrinth page
- modrinth.com/mod/treasure-bags
- Owner
- SilentChaos512
- Published
- 2023-06-23
- Updated on Modrinth
- 2026-02-14
- Facts verified
- 2026-10-15
