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 mod in other modpacks but keep the download within the Modrinth Ecosystem and do not reupload
Other Mods
How to Install Adventure Bags (Loot Bags) (Mod)
Adventure Bags (Loot Bags) by A5ho9999 is verified for Fabric across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 2.1.2-1.26.3, file size: 362 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Adventure Bags (Loot Bags) file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Update to 26.3
- Fix issue with config file not having name
- Fix issue with some config values not saving correctly
- New in-house config
- Will require changing your config settings again
- Update to 1.26.1 (26.1)
- Formatting Update
- This version will now use a custom formatting system to replace the NBT formatting in configs.
- A site has been created to easily generate items (https://a5ho9999.github.io/AdventureBagsTool/)
- Currently a work in progress and options are limited. More will be added in future.
- Update to 1.21.11
- New Bag textures and icon
- Update to 1.21.9
- Add wildcard support for including / excluding loot-tables
- You can now use "*" to match loot-tables.
*- Matches everythingfolder/*- Matches all paths under a specific directoryprefix*- Matches all paths starting with a prefix*suffix- Matches all paths ending with a suffix*middle*- Matches paths containing a string
- Add default support for Entitles (Mobs) [#34](https://github.com/A5ho9999/MinecraftMods/issues/34)
- Updated Config to include different rates for Chests, Entities & Others (Others being added by the include config that aren't within in the Chests or Entities Folder. Ie: Blocks, Spawners, etc)
- Fix Recipes (Forgot to rename folder)
- Added handling for server-side recipe error (it'll still be invalid but shouldn't spam the error anymore)
- Remove server-side resource pack
- Instead Adventure Bags will be given in the matching Bundle Item Model
- Fix crash on servers [#35](https://github.com/A5ho9999/MinecraftMods/issues/35)
- Add wildcard support for including / excluding loot-tables
- You can now use "*" to match loot-tables.
*- Matches everythingfolder/*- Matches all paths under a specific directoryprefix*- Matches all paths starting with a prefix*suffix- Matches all paths ending with a suffix*middle*- Matches paths containing a string
- Add default support for Entitles (Mobs) [#34](https://github.com/A5ho9999/MinecraftMods/issues/34)
- Updated Config to include different rates for Chests, Entities & Others (Others being added by the include config that aren't within in the Chests or Entities Folder. Ie: Blocks, Spawners, etc)
- Fix Recipes (Forgot to rename folder)
- Added handling for server-side recipe error (it'll still be invalid but shouldn't spam the error anymore)
- Remove server-side resource pack
- Instead Adventure Bags will be given in the matching Bundle Item Model
- Fix crash on servers [#35](https://github.com/A5ho9999/MinecraftMods/issues/35)
- Add wildcard support for including / excluding loot-tables
- You can now use "*" to match loot-tables.
*- Matches everythingfolder/*- Matches all paths under a specific directoryprefix*- Matches all paths starting with a prefix*suffix- Matches all paths ending with a suffix*middle*- Matches paths containing a string
- Add default support for Entitles (Mobs) [#34](https://github.com/A5ho9999/MinecraftMods/issues/34)
- Updated Config to include different rates for Chests, Entities & Others (Others being added by the include config that aren't within in the Chests or Entities Folder. Ie: Blocks, Spawners, etc)
- Fix Recipes (Forgot to rename folder)
- Added handling for server-side recipe error (it'll still be invalid but shouldn't spam the error anymore)
- Remove server-side resource pack
- Instead Adventure Bags will be given in the matching Bundle Item Model
- Fix crash on servers [#35](https://github.com/A5ho9999/MinecraftMods/issues/35)
- Add wildcard support for including / excluding loot-tables
- You can now use "*" to match loot-tables.
*- Matches everythingfolder/*- Matches all paths under a specific directoryprefix*- Matches all paths starting with a prefix*suffix- Matches all paths ending with a suffix*middle*- Matches paths containing a string
- Add default support for Entitles (Mobs) [#34](https://github.com/A5ho9999/MinecraftMods/issues/34)
- Updated Config to include different rates for Chests, Entities & Others (Others being added by the include config that aren't within in the Chests or Entities Folder. Ie: Blocks, Spawners, etc)
- Added handling for server-side recipe error (it'll still be invalid but shouldn't spam the error anymore)
- Remove server-side resource pack
- Fix crash on servers [#35](https://github.com/A5ho9999/MinecraftMods/issues/35)
- Add wildcard support for including / excluding loot-tables
- You can now use "*" to match loot-tables.
*- Matches everythingfolder/*- Matches all paths under a specific directoryprefix*- Matches all paths starting with a prefix*suffix- Matches all paths ending with a suffix*middle*- Matches paths containing a string
- Add default support for Entitles (Mobs) [#34](https://github.com/A5ho9999/MinecraftMods/issues/34)
- Updated Config to include different rates for Chests, Entities & Others (Others being added by the include config that aren't within in the Chests or Entities Folder. Ie: Blocks, Spawners, etc)
- Added handling for server-side recipe error (it'll still be invalid but shouldn't spam the error anymore)
- Remove server-side resource pack
- Fix crash on servers [#35](https://github.com/A5ho9999/MinecraftMods/issues/35)
- Add wildcard support for including / excluding loot-tables
- You can now use "*" to match loot-tables.
*- Matches everythingfolder/*- Matches all paths under a specific directoryprefix*- Matches all paths starting with a prefix*suffix- Matches all paths ending with a suffix*middle*- Matches paths containing a string
- Add default support for Entitles (Mobs) [#34](https://github.com/A5ho9999/MinecraftMods/issues/34)
- Updated Config to include different rates for Chests, Entities & Others (Others being added by the include config that aren't within in the Chests or Entities Folder. Ie: Blocks, Spawners, etc)
- Added handling for server-side recipe error (it'll still be invalid but shouldn't spam the error anymore)
- Remove server-side resource pack
- Fix crash on servers [#35](https://github.com/A5ho9999/MinecraftMods/issues/35)
- Update to 1.21.5
- Removed Server mode resource pack
- Instead Bags will be given the coloured bundle Item Model on generation when in server-mode
- Update to 1.21.4
- Resource pack for server-side function will still be broken
- Update to 1.21.2 - 1.21.3

























