Back to mods
Loot Bag project artwork

Modrinth · Minecraft mod

Loot Bag

Another loot bag mod.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Loot Bag release should I use?

Updated yesterday
Latest stable file 1.3.2
Game version 1.21.1
Loader Fabric

Loot Bag 1.3.2 targets 1.21.1 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is Loot Bag required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Loot Bag 1.3.2 need?

1.3.2. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Loot Bag 1.3.2
required
Matching file found Matched file: 0.116.17+1.21.1

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Loot Bag without breaking your instance.

Built for Loot Bag 1.3.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3.2. It targets 1.21.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3.2. It opens that exact file at the source.

About this project

What does Loot Bag add?

Loot Bag

NOTES❗❗❗

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 loot bag used to be a new item, this was done to accommodate some operations such as the vanilla recipe output that did not support writing NBT on items. But this practice was costly, introduced BRRP as a dependency, and defied conventional logic. Now all loot bags are the same item, and the loot bag data is stored in the item's NBT tag.
  4. The mod is now extensible in code, if you are a mod developer you can generate your datapack using the provider class provided by the mod and even add more loot bag types.

🪄Introduction

Another loot bag mod, designed for modpacks.

loot bags

Right click to open a preview screen.
Right click when sneaking to open the bag directly.

(Single) Loot Bag

Contains a single set of loot.

single loot bag

Optional Loot Bag

Contains multiple sets of loot, and you can choose to obtain one of them.

optional loot bag

Random Loot Bag

Contains multiple sets of loot, and you can obtain a random set of them.

random loot bag

⚙️Configuration

This mod is highly configurable. The config files will be automatically generated as examples.
After version 1.2.0, the entire mod underwent a thorough refactoring. Now it is data driven (mostly), and the example data pack can be found HERE.

✉️Feedback

If there are any bugs or suggestions, please provide feedback to the issue page.

Project description from Modrinth.

Pick your setup

Loot Bag by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Loot Bag versions and loaders

17 of 17 releases match

Looking for an older file? The official Modrinth project page is in Resources.