Adventure Bags (Loot Bags)

Adventure Bags (Loot Bags)

Very customizable Loot Bags for the best Loot Goblins, Server-side compatible

by
3.8K Downloads
fabricadventuregame-mechanicsworldgen
Rent Server with this Mod

About this Mod

Client side is optional when using server-side mode, by default Client-side is required.

Server-side is always required

Adventure Bags is a fully customizable Loot Bag Mod allowing you to easily generate Loot for Modpacks or even if you just want more Loot in your world. Simply right-click and profit while satisfying your inner loot goblin

Key Features

  • 4 Rarity Tiers
  • Change Generation Rates of each Adventure Bags in Chests
  • Add or Remove Loot from Bags freely
  • Supports static and random Amounts with NBT/Component support
  • Add or Remove other Loot-tables easily
  • Craftable to higher tiers (Full Function Mode Only)
  • Can function completely Server-side with Vanilla Clients

How does the Server-side feature work

Rather simply, if the config is set to load as Server-side on start the Mod won't load new Items (which would normally prevent Vanilla Clients from joining) and will instead just Vanilla Items (configurable), by default these would be 4 different dyes. These Items are added to the loot-tables in place of the Adventure Bags but now with Custom Model Data & Custom Name, this data is all checked when using the Item to ensure it's an actual Bag and not just a normal Item. Thus allowing the Mod to run completely server-sided by making use of Vanilla functions and not adding new data.

Built-in Loot-tables
Common Adventure Bag
"2-16 minecraft:moss_block",
"16 minecraft:torch",
"minecraft:chest",
"1-8 minecraft:emerald",
"1-16 minecraft:coal",
"6-16 minecraft:arrow",
"1-4 minecraft:amethyst_shard",
"1-6 minecraft:raw_iron",
"1-6 minecraft:raw_copper",
"1-4 minecraft:raw_gold",
"minecraft:iron_shovel",
"minecraft:iron_helmet",
"minecraft:iron_boots",
"4-8 minecraft:cooked_porkchop",
"minecraft:bucket",
"16 minecraft:clay",
"12 minecraft:feather",
"6 minecraft:gunpowder",
"4-8 minecraft:bread",
"16 minecraft:string",
"6 minecraft:leather",
"2 minecraft:book",
"2-4 minecraft:bone",
"4-8 minecraft:cooked_cod",
"4-8 minecraft:cooked_salmon",
"2-6 minecraft:ink_sac",
"1-4 minecraft:cocoa_beans",
"minecraft:cake",
"4-16 minecraft:cookie",
"4-16 minecraft:melon_slice",
"2-12 minecraft:dried_kelp",
"4-8 minecraft:cooked_beef",
"4-8 minecraft:cooked_chicken",
"1-4 minecraft:experience_bottle",
"4-8 minecraft:baked_potato",
"4-8 minecraft:cooked_rabbit",
"minecraft:iron_horse_armor",
"minecraft:name_tag",
"minecraft:lead",
"4-8 minecraft:cooked_mutton"
Rare Adventure Bag
"minecraft:spore_blossom",
"minecraft:emerald_block",
"1-4 minecraft:hay_block",
"minecraft:saddle",
"2-6 minecraft:iron_ingot",
"2-6 minecraft:copper_ingot",
"1-4 minecraft:gold_ingot",
"minecraft:iron_chestplate",
"minecraft:iron_leggings",
"minecraft:iron_pickaxe",
"minecraft:iron_sword",
"minecraft:iron_hoe",
"minecraft:iron_axe",
"minecraft:golden_apple",
"1-4 minecraft:slime_ball",
"2-8 minecraft:glowstone_dust",
"1-3 minecraft:ender_pearl",
"1-3 minecraft:blaze_rod",
"1-3 minecraft:ghast_tear",
"1-3 minecraft:magma_cream",
"2-4 minecraft:pumpkin_pie",
"4-12 minecraft:firework_rocket",
"minecraft:golden_horse_armor",
"1-4 minecraft:chorus_fruit",
"minecraft:nautilus_shell",
"minecraft:brush"
Epic Adventure Bag
"minecraft:lapis_block",
"1-2 minecraft:diamond",
"minecraft:diamond_helmet",
"minecraft:diamond_boots",
"minecraft:diamond_axe",
"minecraft:diamond_shovel",
"minecraft:diamond_hoe",
"minecraft:enchanted_golden_apple",
"minecraft:blaze_spawn_egg",
"minecraft:cave_spider_spawn_egg",
"minecraft:creeper_spawn_egg",
"minecraft:drowned_spawn_egg",
"minecraft:enderman_spawn_egg",
"minecraft:endermite_spawn_egg",
"minecraft:skeleton_spawn_egg",
"minecraft:witch_spawn_egg",
"minecraft:wither_skeleton_spawn_egg",
"minecraft:zombie_spawn_egg",
"minecraft:dragon_head",
"minecraft:diamond_horse_armor",
"minecraft:heart_of_the_sea",
"1-3 minecraft:echo_shard",
"1-3 minecraft:frogspawn",
"1-6 minecraft:coal_ore",
"minecraft:diamond_ore",
"1-4 minecraft:redstone_ore",
"1-6 minecraft:gold_ore",
"1-8 minecraft:iron_ore",
"1-4 minecraft:lapis_ore",
"1-4 minecraft:emerald_ore"
Legendary Adventure Bag
"minecraft:spawner",
"1-3 minecraft:netherite_scrap",
"minecraft:diamond_sword",
"minecraft:diamond_pickaxe",
"minecraft:diamond_chestplate",
"minecraft:diamond_leggings",
"minecraft:skeleton_skull",
"minecraft:wither_skeleton_skull",
"minecraft:player_head",
"minecraft:zombie_head",
"minecraft:creeper_head",
"minecraft:piglin_head",
"minecraft:nether_star",
"minecraft:end_crystal",
"minecraft:dragon_breath",
"minecraft:trident",
"minecraft:totem_of_undying",
"minecraft:budding_amethyst",
"minecraft:dragon_egg",
"minecraft:diamond_block",
"1-3 minecraft:iron_block",
"1-2 minecraft:gold_block",
"minecraft:netherite_ingot"
Config Setup

Setting up the Config is rather simple, by default if you just play vanilla you won't have to do much. You can just use the default settings which will make sure of the built-in loot-tables above.

If you are working on a modpack however, you may want to customize it to include other items from Mods. This is rather simple still. You can use the Mod Menu intergration (recommended) or edit the config file directly. To add a new Item into the Bags loot-table you will need to know the Namespace and Item Id for example "minecraft:diamond_block" would be a Diamond Block from minecraft.

Bag Loot-tables

The Bag Loot-tables support the following format (minAmount)-(maxAmount) [namespace:item_id](NBT/Component) with formatting those surrounded by () are optional and [] are required (amounts and components are optional, item ids are required).

For v2.0.0 and beyond, it uses a custom data handling. You can use this site

For versions below v2.0.0, you need to use NBT formats from 1.20.4, you can use McStacker. The /give option on the site will give you the correct data. Just copy it from the output (Only copy the NBT data after the item. Copying whole output will caues invalid entries)

Examples:

  • minecraft:diamond_block
    • a single Block of Diamond
  • 3 minecraft:diamond_block
    • 3 Block of Diamonds
  • 1-8 minecraft:diamond_block
    • randomly between 1 and 8 Block of Diamonds (1 and 8 included)
  • (v2.0.0+) minecraft:diamond_sword{"name":"Shiny Blue Thing"}
    • a Block of Diamond with the name "Shiny Blue Thing"
  • minecraft:diamond_block{display:{Name:'{"text":"Shiny Blue Thing"}'}}
    • a Block of Diamond with the name "Shiny Blue Thing"

Generation Loot-tables

Including and Excluding loot-tables for the Bags to generate in is also simple. Just put the Loot-table path into the list and that's it. The Loot-table must be included in the data/[namespace]/loot_table/ folder. For example chests/simple_dungeon which is located data/minecraft/loot_table/chests/simple_dungeon.json. This should work with any Mod Loot-tables as well (It is not limited to just the chests folder).

Bag Generation Chances

You can change the rarity of Bags generating in the Loot-table with value between 1.0 and 0.0 (0.00001). 1.0 being 100% and 0.0 being not all (or at least as close as you can get to it without completely removing it from the list). By default the Common is 0.8 (80%), Rare 0.4 (40%), Epic 0.15 (15%) and Legendary 0.08 (8%).

Server-side Options

Most of this explained aboved, but it's straight forward as well. Switching to Server-side only mode will prevent the Mod from loading any custom/extra data outside of vanilla which would normally cause registry issues. It will use the Items stated below the option as Adventure Bags by using Custom Names & Model Data to ensure it's different from the default Vanilla Items. If the provided Item is invalid it'll default back to the Coloured Dyes

The game will still function fine if you input incorrectly, it will simply print an error for the invalid input into the Log, so if you aren't getting your result, be sure to check there. You can use debug mode in the config (must set to true manually in the file) for more information

Config Example

Example Configuration File located in config/adventure-loot.json5

{
	"Debug": false,
	"DefaultOptions": "Disabled",
	"CommonChance": 0.8,
	"RareChance": 0.4,
	"EpicChance": 0.15,
	"LegendaryChance": 0.08,
	"CommonLoot": [
		"minecraft:moss_block",
		"12 minecraft:diamond",
		"4-9 minecraft:gold_ingot ",
		"minecraft:diamond_chestplate{display:{Name:'{\"text\":\"fancy chestplate\"}'},Enchantments:[{id:\"minecraft:protection\",lvl:69s}]}",
		"minecraft:chest{BlockEntityTag:{Items:[{Slot:13b,id:\"minecraft:cake\",Count:1b,tag:{display:{Name:'{\"text\":\"Hoef\\'s Favourite\",\"color\":\"white\",\"bold\":true}',Lore:['{\"text\":\"Just a little squashed\",\"color\":\"light_purple\",\"italic\":true}']}}}],Lock:\"Flight Licence\"}}"
	],
	"RareLoot": [
		"40 minecraft:iron_ingot"
	],
	"EpicLoot": [
		"9-64 minecraft:diamond"
	],
	"LegendaryLoot": [
		"minecraft:diamond_chestplate"
	],
	"TablesToExclude": [
		"chests/simple_dungeon",
		"chests/village/village_mason"
	],
	"TablesToAdd": [
		"entities/cow"
	],
	"ServerSideOnly": false,
	"ServerSideCommonItem": "minecraft:white_dye",
	"ServerSideRareItem": "minecraft:blue_dye",
	"ServerSideEpicItem": "minecraft:red_dye",
	"ServerSideLegendaryItem": "minecraft:purple_dye"
}

Feel free to use this in modpacks but keep the download within the Modrinth Ecosystem and do not reupload/repost

Other Mods

Totem Party Popper
Modern Advancement Screen
Area Sign Alerts
Yeeterite
Yeeterite Extras
Adventure Loot Bags
Hopper the Hedgehog
Smelter the Hedgehog
Note Block Tuner
Stonecutter Remastered
Loom Remastered
Glass Carpets
Explosive Party
Stacks Are Stacks
FOV Toggle
SpongeSucc
Where Water Go
Party Spores
Party Cacti
Party Flames
Superflat Plus
CottageCraft Blocks
CottageCraft Axolotls
CottageCraft Festive Eggs

Available Versions

v1.1.0-1.21.5release
MC 1.21.5, 1.21.6, 1.21.7, 1.21.8fabric
May 6, 2025
v1.1.0-1.21.4release
MC 1.21.4fabric
May 6, 2025
v1.1.0-1.21.2release
MC 1.21.2, 1.21.3fabric
May 6, 2025
v1.1.0-1.20.6release
MC 1.20.5, 1.20.6, 1.21, 1.21.1fabric
May 6, 2025
v1.1.0-1.20.4release
MC 1.20.3, 1.20.4fabric
May 6, 2025

How to Install Adventure Bags (Loot Bags) on Your Server

1

Order Server

Order a Minecraft Java server with at least 4 GB RAM (6 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Adventure Bags (Loot Bags)". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+19 more)

Server-side

~ Optional

Recommended RAM

6 GB(min. 4 GB)

Frequently Asked Questions

Adventure Bags (Loot Bags) server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 4 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Adventure Bags (Loot Bags) compatible with fabric?

Adventure Bags (Loot Bags) officially supports fabric for Minecraft 26.1.2, 26.1.1, 26.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Adventure Bags (Loot Bags) – how to optimize performance?

Recommended RAM: 6 GB (per 5 players). Use /spark profiler to check if Adventure Bags (Loot Bags) consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Adventure Bags (Loot Bags) with just one click on your server.

Recommended RAM
6 GBab €12/mo
Min. 4 GB | +1 GB pro 5 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Optional

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+12 more