ModsFinder

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.

FabricClient and serverMIT LicenseOpen source1.20.1 – 1.21.1

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

  1. Single loot set

    A bag can contain one fixed set of loot that opens the same way every time.

  2. Player-chosen sets

    A bag can hold several loot sets, and the player selects which one to obtain.

  3. Random set selection

    A bag can hold several loot sets, and one of them is picked at random when the bag is opened.

  4. 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.

1.21.11.3.1
1.20.11.3.1
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Loot BagFabric1.20.1 – 1.21.1Client and server2026-10-15
LootedFabric1.20 – 1.21Client and server2025-11-02
Numismatic Auto PouchFabric1.20.1Not published2026-03-10
Better LootFabric, NeoForge and Quilt1.20 – 1.21.8Server required, client optional2025-09-23

Questions

Does Loot Bag need Fabric API?

Yes. Fabric API is the only required dependency, and it must be installed next to Loot Bag on Fabric.

Does the server need Loot Bag?

Every player and the server need a copy of the mod.

How are the bag contents set?

Contents are configured through datapacks, not config files, and a provider class lets developers generate the datapack entries.

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

All projects

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…
Karashok-Leo, on the Modrinth page

Official listing

Owner
Karashok-Leo
Published
2024-03-27
Updated on Modrinth
2026-10-15
Facts verified
2026-10-15

Tags