Download Treasure Bags — Minecraft Mods — MetaMods

Treasure Bags

Active

Downloads

2

Last update

1 year ago

Versions

1.19.4 — 1.21.1
Client and server
Forge
Neoforge
Utils

Treasure Bags

Treasure Bags is a loot bag creation module that is fully configurable through data packs. You can add any number of different bag types using one or multiple data packs. By default, the mod includes only one bag type that is given to players upon first entering the world - other variants need to be either downloaded as ready-made data packs or created independently.

Each bag type allows you to set its name, color scheme, and loot table. The treasure chest's contents are determined precisely through the loot table - you can use either existing tables or create completely custom ones. Typically, for each new bag, you'll need to add a JSON file with the type description and the corresponding loot table.

To make bags appear in the game, they need to be added to loot tables. The mod includes several ready-made tables for main mob categories, located in data/treasurebags/loot_tables/entity_group. This simplifies distributing bags among various creatures.

System Requirements

  • Minecraft Forge
  • Silent Lib

How to Use

To open a treasure bag, hold it in your hand and use it (right-click). Items will automatically transfer to your inventory, and if there's insufficient space - they'll drop to the ground. You can also open an entire stack of bags at once by holding Shift and right-clicking.

Additional Features

With advanced tooltips enabled (F3+H), the bag description displays additional information: type identifier and the loot table used. The mod also adds commands (/treasurebags) for giving specific bag types and checking loaded types.

Starting Bag

This special bag is given to players upon first entering the world. By default, the system generates one such bag through a loot table for new players. You can configure this table to issue additional items or completely disable the function, but it's recommended to modify the bag's contents directly.

Creating Data Packs

Creating your own bags requires knowledge of working with JSON files and loot tables. Detailed instructions are available in the mod's documentation.

Project members
SilentChaos512

SilentChaos512

Developer

Created: 25 Jun 2023

ID: 3669