LootBags Mod 1.10.2/1.7.10

LootBags Mod for Minecraft 1.10.2, 1.7.10

Updated: Sep 15, 2016 | 390 views |

LootBags-Mod.png

LootBags Mod Overview:

LootBags Mod adds an item that contains random loot from any of the vanilla dungeon loot lists (dungeons, strongholds, mineshafts, temples, and blacksmiths). This bag can be found dropped by monsters, passive mobs, and players or in vanilla worldgen chests.

Internal Mechanics Information:

  • 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.

Mod Showcase:

Config:

+ Show » Spoiler Inside

How to install:

  • Download and install Minecraft Forge.
  • Download the LootBags Mod from link below.
  • Go to .minecraft/mods folder. If the “mods” folder does not exist you can create one.
    • Windows – Open the Start menu and select Run, or press the Windows key + R. Type (without quotes) “%appdata%\.minecraft\mods” and press Enter.
    • OS X – Open the Go menu in Finder and select “Go to Folder”. Type (without quotes) “~/Library/Application Support/minecraft/mods” and press Return.
  • Copy the downloaded jar (zip) file into the “mods” folder that opens.
  • Enjoy the mod.

LootBags Mod Download Links:

For 1.7.10

http://dl.niceminecraft.net/download.php?file=965eb3232772f0270400960b5e1c6992

For 1.10.2

http://dl.niceminecraft.net/download.php?file=a71105fe12a8ad791fc0588c40405277

Credits: Malorolam