SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedWeapons, items & crafting

Treasure Bags

by SilentChaos512 · for Minecraft

Loot bags created with data packs, plus a starting inventory loot table

158KDownloads
8 mo agoLast updated
MITLicense
Forge · NeoForgeLoaders

About Treasure Bags

From Modrinth

Loot bags created with data packs, plus a starting inventory loot table

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

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.

Highlights

From source data

Game versions

Supports 4 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Forge and NeoForge.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Weapons, items & crafting

New weapons, gear, items and the recipes to make them.

Runs on your server

From source side support

Modrinth lists Treasure Bags as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
ForgeNeoForge
Runs on
Serverrequired on the server
Game versions
1.21.1 and 3 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorSilentChaos512, as published on Modrinth
  • ✓LicenseMITFree

Treasure Bags, answered

Generated from the mod’s own source data.

Do my players need to install Treasure Bags?

Modrinth lists Treasure Bags as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Forge and NeoForge.

Is it free?

Yes. Treasure Bags is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Treasure Bags on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Treasure Bags in one click.