Table of Contents:
The LootBags Mod 1.12.2/1.11.2 is a mod which adds bags that drop other items! It can be found in the Utility category of mods and has been downloaded over 7 million times! LootBags Mod 1.12.2/1.11.2 by default, the mod is configured for 14 different types of bags with 6 typical bags and 8 secret type of bag which only spawn in certain conditions where as typical bags drop portions from vanilla world gen loot tables, rarer ones relate to more consistent rare loot such as monsters or passive mobs dropping it or if you have a lot of luck there’s even an option for an item containing random loot from any vanilla dungeon chest
In 1.12.2, replacing and augmenting the previous crafting system to convert between bags, is the Bag Storage. This block will accept any bag from an auto-generated import list based off of parameters in the bag config, converting that bag into an appropriate value and allows for the extraction of a bag from the auto-generated export list. This bag can be cycled using a gui button and will retain that output choice for automatic removal of the chosen bag. This block will save it’s inventory when broken.
Additionally, the mod includes several commands to make using the mod easier. lootbags_itemdump will create a text file in a folder called dumps in your minecraft instance, which contains a list of every item in the general loot table as well as every item every bag can drop, along with those item’s weights and rough drop chances. lootbags_identifysources will create a dump file which lists every loot source registered in Forge, every loot source that provides loot to the general loot table, every loot source that has a bag in its list (at least from this mod), and a list of every enchantment. lootbags_dumphelditem will create a dump file which holds a single whitelist entry for the currently held item, including its nbt data. lootbags_inventorydump works much like the previous command, except it will generate entries for the entire inventory in one go. lootbags_reloadconfig will reload both configs as well as all bags and loot tables, so that pack makers do not need to reload the game for small config changes. This command is not intended as a bypass for issues with other mods that manipulate custom items or loot sources, as it is not designed to be usable indefinitely without any memory leaks.
How to install Download LootBags Mod for Minecraft?
Follows 5 Steps below to install Download LootBags Mod for Minecraft on Windows and Mac :
1. Download and install Minecraft Forge, you can read the instructions below the article.
2. Download the LootBags Mod for Minecraft.
3. Open the . minecraft folder and then enter the mods folder. Important: Some older versions of Forge may not have the ‘Open Mods Folder’ button. If this is the case, create the directory under the name mods.
Windows:
Press the Windows key +R at the same time
Type %appdata% and press enter
Find folder Minecraft and then look for the Mods folder within that
Mac:
Click on the desktop and then press Command+Shift+G all at the same time
Type ~/Library and press enter
Open the folder Application Support and then Minecraft.
4. From here, drag in the mods file downloaded (.jar or .zip) you wish to add.
5. Run Minecraft, and you should now see the new mod installed in the list!
Enjoy Download LootBags Mod for Minecraft, If there is an error, please comment on this article we will support.
Bag Config Documentation
To define a new bag, the mod expects a certain list of commands to define the different properties of a bag. The precise order of the sub commands doesn’t matter, however the syntax and required commands must be followed exactly or the bag won’t be created properly (or at all). The default file demonstrates every command usage (within some limitations).
Basic Config Rules:
All commands recognized by the config start with dollar sign ($), so $STARTBAG is the base command to start defining a new bag. Commands do not need to be all uppercase, but it makes the config a bit easier to read. Similarly, the spaces creating tabs are not required, but are added for readability.
Many commands have parameters to further define the command’s properties. These are separated by a colon (:), so the bag start command above with all necessary parameters becomes $STARTBAG:<unlocalized bag name>:<bagID>
Some commands have parameters that are multiple strings (such as the bag text commands), for these, format the string portion as it should appear in game, except that any colons (:) should be prefaced by a dollar sign ($) to exclude it from the command separator.
Specific Config Commands and Syntax:
$CONFIGVERSION:<config version id> – Added in version 1.12.2-2.5.7, this command is required and cannot change from what is indicated in the default config or a message will be displayed to all players when they join the game. The current version id is CONFIGVER257 and is case sensitive. This will only change when the default bag config changes. If you are massively opposed to having to sometimes change a line in a config when things change, you can use BYPASS (case sensitive) as the version id to bypass the warning.
$STARTBAG:<unlocalized bag name>:<bagID> – This command is used to begin defining a new loot bag. The unlocalized bag name is the name used internally to determine the shown name. This will need to be localized in the .lang file or the bag will appear as it’s unlocalized name in game, which contains elements that aren’t in the parameter. The bagID is what is used to ensure that the bags stay consistent through saving and loading. The bagID needs to be distinct and unused, which shouldn’t be too difficult as the config is the only place those IDs can be assigned. If a bag is attempted to be opened before the previous bag is properly closed, all the previous bag information is discarded and an error is thrown.
$BAGCOLOR:<main color>:<secondary color> – This command will set the bag texture to a default two-toned bag instead of a pre-defined one, colorizing the body to the main color and the neck to the secondary color. This has the benefit of bag customization without the need of resource pack creation. The colors are RGB colors separated by vertical bars (R|G|B). The default Worn Out bag shows an example of this command.
$ISSECRET:<boolean> – This command is used to indicate if the bag shows up in creative inventory lists. Does nothing if the general config option ShowSecretBags is enabled.
$BAGTEXTCOLOR:<Color> – This command determines the color of the bag text in its name. It supports all the standard minecraft text formatting (listed later).
$BAGTEXTUNOPENED:<Color>:<Text> – This command determines the text shown in the tooltip when the bag has not been opened. This command supports multiple uses, each one adds a new line. Neglecting the color parameter uses the default text color. Using $DROPCHANCES in the text parameter uses that bag’s drop chances instead of a set text.
$BAGTEXTOPENED:<Color>:<Text> – This command determines the text shown in the tooltip when the bag has been opened. This command supports multiple uses, each one adds a new line. Neglecting the color parameter uses the default text color. Using $DROPCHANCES in the text parameter uses that bag’s drop chances instead of a set text.
$BAGTEXTSHIFT:<Color>:<Text> – This command determines the text shown in the tooltip when left shift is pressed. This command supports multiple uses, each one adds a new line. Neglecting the color parameter uses the default text color. Using $DROPCHANCES in the text parameter uses that bag’s drop chances instead of a set text.
$CRAFTEDFROM:<Bag Name>:<Integer> – This command is used to indicate which bag this bag is crafted from. The bag name is the name used in the bag start command. Using $NULL will disable crafting into this bag. The integer is how many of those bags are needed to craft this bag, constrained in the code to be between 1 and 9. MC1.11.2 and prior only
$BAGVALUE:<Input Value (Integer)>:<Output Value (Integer)> – This command is used to indicate the value of the bag for use in the Bag Storage block. The Input Value is how many units of bag value a particular bag gives when inserted into the storage block. The Output Value is how many units of bag value is needed to remove that bag from the storage block. Either or both of these value may be 0 or negative, in which the associated input/output operation is disabled. MC1.12.2 and later only
$PASSIVESPAWNWEIGHT:<Integer> – This is the weight for the bag to spawn from a “passive” mob, i.e. one that implements EntityAnimal or IAnimals. A value of 0 means this bag cannot spawn from this type of mob.
$PLAYERSPAWNWEIGHT:<Integer> – This is the weight for the bag to spawn from a player, i.e. one that implements EntityPlayer. A value of 0 means this bag cannot spawn from players.
$BOSSSPAWNWEIGHT:<Integer> – This is the weight for the bag to spawn from a boss, i.e. ones that implements IBossDisplayData. A value of 0 means this bag cannot spawn from such mobs.
$MOBSPAWNWEIGHT:<Integer> – This is the weight for the bag to spawn from enemy mobs, i.e. ones that implement EntityMob or IMob. A value of 0 means this bag cannot spawn from such mobs.
$USEGENERALLOOTSOURCES:<Boolean> – This command determines if the bag uses the general loot table as an initial loot source.
$MAXIMUMITEMS:<Integer> – This command determines the maximum number of items the bag can hold. This value must be at minimum 1, at maximum 5, and greater than or equal to the minimum item count.
$MINIMUMITEMS:<Integer> – This command determines the minimum number of items the bag can hold. This value must be at minimum 1, at maximum 5, and less than or equal to the maximum item count.
$MAXIMUMGENERALLOOTWEIGHT:<Integer> – This command determines the maximum weight of general loot that can show up in the bag. A value of -1 leaves this field unbounded, any positive value must be greater than or equal to the minimum general loot weight value.
$MINIMUMGENERALLOOTWEIGHT:<Integer> – This command determines the minimum weight of general loot that can show up in the bag. A value of -1 leaves this field unbounded, any positive value must be less than or equal to the maximum general loot weight value.
$PREVENTITEMREPEATS:<Text Code> – This command determines if items are permitted to repeat in a single bag. The text code must be one of these options:
• none – Repeats are permitted without limit.
• damage – Repeats are blocked for same items with different damage values
• item – Repeats are blocked for the same item class
• fixed – Takes only the first few items in the list and disables duplicate item system
$STARTWHITELIST – This command begins the whitelist subgroup. It must have a list of whitelist entries followed by the $ENDWHITELIST command. The whitelist entries need the following format: <mod id>:<item name>:<damage range>:<minimum stack size>:<maximum stack size>:<weight>:<NBT bytes>. The mod id and item name can be obtained using NEI’s item dump function. The damage range can be a single integer, for a single damage value, or a collection of integers, &s, and #s. A # indicates a skip between two numbers, and an & indicates inclusion between two numbers. For example, 0&5#8&10 uses the damage values 0, 1, 2, 3, 4, 5, 8, 9, 10. The minimum and maximum stack sizes must be within the limits of the item, typically 1 and 64. The weight is independent of the general minimum and maximum weights detailed earlier and is not scaled to those values. The NBT bytes is an optional (leave the last colon off as well if so) set of data to set the NBT data of the itemstack. This byte list can be obtained through the lootbags_pullnbt command in game, which will create a dump file of the information of the currently held item. This command can be skipped, it will be treated as an empty whitelist.
$STARTBLACKLIST – This command begins the blacklist subgroup. It must have a list of blacklist entries followed by the $ENDBLACKLIST command. The blacklist entries can be of two forms, <mod id> or <mod id>:<item name>:<damage range>. The mod id only version will blacklist that entire mod from the bag. This command can be skipped, it will be treated as an empty blacklist.
$EXCLUDEENTITIES:<Boolean> – This command determines if the entity list (if present) acts as a whitelist or as a blacklist, with true acting as a whitelist and false as a blacklist.
$STARTENTITYLIST – This command begins the entity list subgroup. It must have a list of entity entries followed by a $ENDENTITYLIST command. An entity entry is comprised of the command $VISIBLENAME:<name as it appears in game> OR $INTERNALNAME:<name as it appears in the internal registry>. For visible name entries, this is used in cases where a specific name is desired, for instance a player name, and will trigger on any entity who is visibly named that name. For internal name entries, every mob registered in the game has an internal name. This is usually the same as the entity’s English localized name, though it is not guaranteed to be the case for modded mobs. This command can be skipped, it will be treated as an empty entity list.
Supported Text Formatting Codes The supported codes that can be used in <Color> command parameters are as such: $WHITE $BLACK $DARK_BLUE $DARK_GREEN $DARK_AQUA $DARK_RED $DARK_PURPLE $GOLD $GRAY $DARK_GRAY $BLUE $GREEN $AQUA $RED $LIGHT_PURPLE $YELLOW $OBFUSCATED $BOLD $STRIKETHROUGH $UNDERLINE $ITALIC
SLootBags Mod creenshots:
LootBags Mod 1.12.2/1.11.2 Download Links:
Minecraft Game version 1.7.10:
Minecraft Game version 1.10.2:
Minecraft Game version 1.11.2:
Minecraft Game version 1.12.2:
How To Download and Install Minecraft Forge (Modding API)?
Minecraft Forge is a free, open-source server that allows players to install and run Minecraft mods. 4 steps to install forge for windows, mac, Linux
1. Download Minecraft Forge at the website, select the version of Minecraft you want to run, then download the installer using your browser.
2. Open the .jar file you just downloaded (Run installer as Administrator), make sure Java is installed on your operating system
3. Select Install Client or Install Server if you want to install for your server, and click OK. Wait about 2 minutes, and you will see a success message.
4. Launch Minecraft and select the Forge profile, then click Play.
5. You will see Minecraft Forge in the lower-left corner and the Mods button under Multiplayer.
Congratulations on successfully installing Minecraft Forge and experimenting with LootBags Mod for Minecraft downloaded.
If there are errors, please comment on this article.
Click to rate this mod!