Fabric version of original mod.
This mod adds 1 item a bag that when held aloft and right-clicked will give you 10 random items from a list (which is shuffled every time a loot bag is used) of every item in the game (including mods) and is then destroyed). Almost all mods should work with the Loot Bag Mod, though some items such as those with nbt/metadata/variants wont work as the mod has no way of knowing all the possible variants or combinations of metadata and nbt.
The Loot Bag isn't craftable and can only be found in treasure chests.
Configuration options:
| Option | Description | Default value |
|---|---|---|
| StackSize | Maximum possible stack size for dropped items | 15 |
| Drops | How many items drop when a loot bag is used | 10 |
| EnableWhitelist | Use the whitelist | false |
| BlackList | Items that should never be dropped from loot bag | List of items |
| WhiteList | When whitelist enabled then only items from this list can be dropped | List of items |
| Namespaces | Mod IDs (namespaces) to include/exclude from drop list, depends on EnableWhitelist flag | lootbagmod |
| EnableContainsList | Enable Contains List | false |
| ContainsList | List of words. Uses to include/exclude items from/to drop list if their identifier contains word | apples, creative |
| ChestDrops | Enable Loot Bags spawns in treasure chests | true |
| ChestsLists | List of chests which can contain loot bag | ... |
| MobDrops | Enable Loot Bags drops from killed mobs | true |
| DropChance | Enable Loot Bags spawns in treasure chests | true |
| AllHostileMobs | Make Loot Bags droppable from all hostile Mobs | false |
| AllNonHostileMobs | Make Loot Bags droppable from all passive and neutral mobs | false |
| MobList | List of mobs who drops Loot Bag | ... |
How to Install Loot Bag Mod (Fabric) (Mod)
Loot Bag Mod (Fabric) by L2jLiga is verified for Fabric, Quilt across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 1.20.3 (latest release: 4.0.1-1.20.3, file size: 23 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20.1, 1.20.2, 1.20.3) and platform (Fabric, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Quilt.
- Move the downloaded Loot Bag Mod (Fabric) file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- [**BREAKING**] update to Minecraft 1.20.3 - 1.20.4
- Game crash when items lists contains invalid identifier [#16](https://github.com/L2jLiga/Loot-Bag-Mod-Fabric/issues/16)
- Contains list works incorrectly
- [**BREAKING**] update to Minecraft 1.20.2
- [**BREAKING**] update to Minecraft 1.20.1
- [**BREAKING**] update to Minecraft 1.19.4
- Loot bag drops twice from sheep
- Loot bag drops twice from sheep
- [**BREAKING**] update to Minecraft 1.19.3
- Restart not needed anymore when updating items list
- Incompatibility with mods that extends inventory (e.g. Inventorio)
- allow to set mob drop chance to 0
### Fixed
- improper mob drop chance computation
- Bags not dropping from any mobs
- dependency name: owo -> owo-lib
- configuration via modmenu