Language Selector



Average (27 Votes)

Message Boards

LootBags Mod: A Unique Item with a Random Loot Drop

NA MI, modified 1 Month ago.

LootBags Mod: A Unique Item with a Random Loot Drop

Yoda Posts: 1056 Join Date: 4/14/21 Recent Posts
LootBags Mod 1.12.2/1.11.2 is a mod which adds bags that drop other items and can be found dropped by monsters, passive mobs, and in dungeons. Lootbags mod 1.12 will give you the ability to find rare loot and get more than just what you would normally find in the world of Minecraft!


  • Loot Determination Algorithm: The bag does not know its loot until it is opened by a player. There are a maximum of five inventory slots that can be filled. Once opened, the bag will determine 1-5 slots to fill and for each slot choose a random loot list from all lists plus the whitelist if there are any items in the whitelist. From that list a random output itemstack is selected with a random stack size that does not exceed both the max stack size for that item and that entered in the config and placed in the slot.
  • Black/White-list Item Detection: The lists will read a string array and for each element identify the number of words, if it is one/two (blacklist/whitelist) the code assumes the entry is an OreDictionary entry and attempt to add all itemstacks from the OreDictionary that matches that tag to the list. In the case of a whitelist, this only adds the first entry. If the entry word count is three/four the code assumes it is a modID entry and will attempt to find the item or block that is registered under the modID that is the first word with an internal registry name of the second word. If a block or item is found, an itemstack that uses the third word parsed to an integer is added to the list. Each successful process will add a log message indicating the addition.
  • Blacklist Item Removal: During item selection when the bag is opened if the blacklist has any items the mod will compare each item to the blacklist and if there is a match that particular slot is rolled again.

How to install:

  1. Make sure you have already installed Minecraft Forge and ZarakLib.
  2. Locate the minecraft application folder.
    • On windows open Run from the start menu, type %appdata% and click Run.
    • On mac open finder, hold down ALT and click Go then Library in the top menu bar. Open the folder Application Support and look for Minecraft.
  3. Place the mod you have just downloaded (.jar file) into the Mods folder.
  4. When you launch Minecraft and click the mods button you should now see the mod is installed.

LootBags Mod 1.12.2/1.11.2 Download Links:

LootBags Mod
Minecraft Game version 1.7.10:download 
Minecraft Game version 1.10.2:download 
Minecraft Game version 1.11.2:download 
Minecraft Game version 1.12.2:download


VIET NAM's Calendars