Treasure Bags Mod (1.18.2, 220.127.116.11) is a loot bag mod that can be controlled using data packs. You can add as many bags as you like to any number data packs. Except for one bag, which is given to players upon joining a world, the mod does not include any other types of bags. You will need to download a data pack or make your own.
Treasure Bags Mod – 1.18.2, 1.17.1 – Loot Bags Created with Data Packs
- Minecraft 1.13.2 Mods
- Minecraft 1.14.4 Mods
- Minecraft 1.15.2 Mods
- Minecraft 1.16.5 Mods
- Minecraft 1.17.1 Mods
- Minecraft 1.18.1 Mods
- Minecraft 1.18.2 Mods
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 your 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: https://github.com/SilentChaos512/Treasure-Bags/tree/1.14/src/main/resources/data/treasurebags/loot_tables/entity_group
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.
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 the 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) (recommend modifying the loot table for the bag instead).