mkalam-alami/inventory-tweaks — Issue #154: Bunch of fixups for you: Iron chest support, sorting fixup, dummy items, 1 stack handling
Author: cpw
Created: 2011-11-24 06:11:59+00:00
State: open

Hi there, so loving this mod, great piece of code.

Attached is a patch file (I hope) to fix up the following things:
1. Support IronChests mod (Gold and Diamond chests)
2. Fix up the sorting so that it works for chests >9 wide. (This touched a bunch of places to fix up stuff. Had to add in a parameter to a method to get it right).
3. Dummy items. I don't like that "it's not default so it all goes in one bucket" behaviour. I added some stuff so that if the mod didn't know about an item, it added it to the root of the tree, which I think is a nice thing to do.
4. Fixed up 1 stack handling. Your code didn't seem to handle it at all, which was disappointing. I think you were anticipating passing through to MC, but you don't let that happen either.