Treasure Bags Wiki & Guide
The community wiki and guide for Treasure Bags — recipes, items, tags and mechanics, kept current for every Minecraft version the mod supports.
About this mod
Introduction
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 own.
Bag types allow you to set the bag's name, colors, and loot table. The items a treasure bag can contain is controlled by its loot table. This can be a preexisting loot table, or you can create you own. So, typically you will add a bag type JSON and a loot table for each bag.
In order to obtain bags, you must then add them to a loot table. Treasure Bags adds a couple of loot tables which let you add loot to broad categories of mobs. These are found in data/treasurebags/loot_tables/entity_group. See the wiki for details on adding bags to loot tables.
Requirements
- Minecraft Forge
- Silent Lib
Usage
To open a treasure bag, hold it in your hand and use it (right-click). The items will be added to your inventory, or dropped on the floor if there is not enough room. You can also sneak and right-click to open an entire stack at once.
Advanced
Additional information can be seen in the treasure bag's tooltip by enabling advanced tooltips (F3+H). This includes the type ID and the loot table. The mod also adds some commands (/treasurebags) which can be used to give specific bag types or verify loaded types.
First Spawn Bag
This treasure bag is given to players when they first join a world. More specifically, there is a loot table which is rolled once for new players. This loot table gives one first spawn bag by default. You can customize this to give additional items (or nothing at all), but I recommend modifying the loot table for the bag instead.
Creating a Data Pack
Please read the wiki for details. You will need to be familiar with JSON files and loot tables.
Compatibility
Which Minecraft versions and mod loaders the mod supports.
| Loader | MC 1.21.1 | MC 1.21 | MC 1.20.1 | MC 1.19.4 |
|---|---|---|---|---|
| Forge | — | — | ✓ | ✓ |
| Neoforge | ✓ | ✓ | — | — |
Recent updates
Latest releases with the author's changelog notes.
[1.21.1-1.10.1] - 2026-02-13
Added
- A new config option,
mobsDropBagsWhenKilled, which will prevent all treasure bags from dropping on mob kills
Fixed
- The
disabledGroupsconfig option not working
- Updated to NeoForge 1.21.1 (1.21 compatible)
Treasure Bags Changelog
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.20.1-1.9.0] - 2023-06-23
- Updated to Minecraft 1.20.1
Treasure Bags Changelog
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[1.19.4-1.8.0] - 2023-05-29
- Updated to Minecraft 1.19.4
Developer resources
Items
Version history
Treasure Bags 1.9.0 (MC 1.20.1) → 1.10.1 (MC 1.21.1): 0 recipes added · 0 recipes removed · 0 recipes updated.
Treasure Bag