Loading...
Beta Modpages Unclaimed

LootBag Patches

Patching Some Bags

0 Likes
753816 Downloads
Created by EndangeredNayla

Description

Legal Disclaimer: If you are the original mods developer and you have an issue with this project. Please feel free to msg me on Discord at Nora#2878. I am simply trying to provide a fix for dead and/or discontinued versions of mods and have no intention of trying to damage any mod author's sanity and/or gain monetary value from their work

 

A Patched Version of LootBags for 1.12.2

LootBags has a Custom License that says when the Mod Dev is Absence someone can modify the mod. I told Malorolam about this Patch and will take it down if they so desire.

 

This patched version fixes #178 #185 #188 #191 #215 #218

For 

1a: If a modified version of the code is to be used to update the mod in my absence, whether percieved or actual, regardless if the work is done independantly or from the request of a pack developer, inform me of the action.

 

Fixes:

 - Add RU_ru.lang (e3ee244)

 - Fixes with Storage (#209)

 - Fix potential nullpointer (#89)

 - Update tr_TR.lang (#154)

 

Original Description:

Lootbags is a mod which adds bags that drop other items. It is heavily configurable through its two config files, in which the wiki on GitHub contains more information on using the configs. By default, the mod is configured for a total of 16 bags with both typical bags and "secret" bags which only spawn in certain conditions. The typical bags drop portions of the vanilla world gen loot tables, with rarer bags relating to more consistent rare loot.

 

The mod includes a loot recycler block which will consume items that are dropped by loot bags, and once a certain value (determined by which bag the recycler is configured to create and a scaling factor) it will create a new lootbag that can be pulled out by any typical modded method of removing items from an inventory. Items can similarly be pumped into the block.

Bags can be opened automatically using the Bag Opener, which supports the insert/extract one would expect.

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.

Support:

If you want to contact me directly, PMing me through Curse or GitHub is the most reliable way to do so. 

 

My Github page has documentation and tutorials for the config files, they can be found here.

 

90% of the issues that result in missing textures, localized names, or bag loot tables is caused by an issue with the bag config file.  If these issues are showing up and you haven't edited the two config files then deleting the two Lootbags config files (lootbags.cfg and lootbags_BagConfig.cfg) and running the game again will fix the problem.

 

There is very detailed output log information available.  By default it will only output major errors, but enabling Verbose Mode and Debug Mode in the lootbags.cfg will aid greatly in debugging custom bag issues.

 

Every so often I will tweak the default bag config information or how the config parsing works, this usually causes some small issue with existing bag configs.  Deleting the configs, allowing them to be created again, and re-applying any changes will fix the problems.

 

Modpacks:

You can use this in modpacks provided that I am credited and either this page is included in the modpack information.  If the pack is created through Curse, this is automatically done.

Get-a-Server-with-Bisect


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Apotheosis

All things that should have been.

Corail Tombstone

Keeps safe your inventory items in graves on death with many features for better survivability and exploration, in a medieval fantasy atmosphere related to the decorative graves & the haunting souls

MineColonies

Grow your Own Massive Colony with Automation, Defense Structures, Raids and more

Runelic

A runic font for Minecraft.

Better Questing

A new and improved questing mod for Minecraft pack creators

Bountiful

Adds bounty boards, giving rewards for collecting different blocks and items.

LootBags

Adds bags of loot to mob and dungeon drops