Loot Bag
by Karashok-Leo
With Loot Bag, a bag item holds loot tables that a player opens in game, and the contents are set by datapack instead of config files.
What it does
Loot Bag adds bags that roll a loot table when opened. Each bag item stores its loot data in its NBT tag, so bags of the same kind stack as one item. A bag can hold a single set of loot, several sets from which the player picks one, or several sets from which one is drawn at random. Right clicking opens a preview screen, and sneaking while right clicking opens the bag directly. The mod is configured through datapacks rather than config files, and a developer can generate datapack entries with a provider class included in the mod.
The mod was rewritten in a later release, and its changes are listed on the project page. The loot bag now uses a new item so that some operations, such as vanilla recipes, can accommodate it, and output supports writing NBT items. Earlier builds relied on the BRRP dependency, which the author describes as a costly choice; the current build requires only Fabric API. The mod is open source under the MIT License, and its source code, issue tracker and wiki are public.
Key features
Single loot set
A bag can contain one fixed set of loot that opens the same way every time.
Player-chosen sets
A bag can hold several loot sets, and the player selects which one to obtain.
Random set selection
A bag can hold several loot sets, and one of them is picked at random when the bag is opened.
Preview and direct open
Right clicking shows the contents before opening, and sneaking while right clicking opens the bag at once.
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
Use cases
Modpack loot
Pack makers can define their own bag types, which suits modpacks that hand out rewards from chests or quest systems.
Who it’s for: Modpack authors and datapack creators who want loot bags with their own contents. The mod is designed for modpacks and needs no config file edits, since bags are defined in datapacks.
How it compares
Looted is open source under the MIT License and runs on Fabric for 1.20 – 1.21 with client and server environments. Numismatic Auto Pouch is open source under the GNU Affero General Public License v3.0 only and is published for 1.20.1 only. Better Loot is open source under the MIT License and runs on Fabric, NeoForge and Quilt across 1.20 – 1.21.8, with the server required and the client optional. Loot Bag covers Fabric builds for 1.20.1 and 1.21.1 only.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Loot Bag | Fabric | 1.20.1 – 1.21.1 | Client and server | 2026-10-15 |
| Looted | Fabric | 1.20 – 1.21 | Client and server | 2025-11-02 |
| Numismatic Auto Pouch | Fabric | 1.20.1 | Not published | 2026-03-10 |
| Better Loot | Fabric, NeoForge and Quilt | 1.20 – 1.21.8 | Server required, client optional | 2025-09-23 |
Questions
Does Loot Bag need Fabric API?
Does the server need Loot Bag?
How are the bag contents set?
In the catalog
Loot Bag is one of 19,031 Adventure mods on ModsFinder, and one of 10,052 Adventure mods for Fabric. 32,366 mods support Minecraft 1.21.1.
More from Karashok-Leo
Similar mods
What the author says
In version 1.2.0 I rewrote almost the entire mod. What's different from before? 1. The mod now no longer depends on any other dependency mod other than the fabric api. 2. It is now configured via datapack instead of config files. (Don't update if you're not ready to rewrite the config file as a datapack!) 3. Every…
Official listing
- Modrinth page
- modrinth.com/mod/loot-bag
- Owner
- Karashok-Leo
- Published
- 2024-03-27
- Updated on Modrinth
- 2026-10-15
- Facts verified
- 2026-10-15
