Inventory Tweaks [1.12 only]

Inventory Tweaks [1.12 only]

127M Downloads

Button placement options in InvTweaksCompatibility.xml and/or the api

mindcloud69 opened this issue ยท 3 comments

commented

**Minecraft Version: 1.12
**Inventory Tweaks Version: 1.63
Request:
I would like to see an option added to enable either allow specific button placement or maybe a # of columns option to better position the buttons added to InvTweaksCompatibility.xml and/or the api
Reason:
I am using Actually Additions and the Storage Crate buttons are placed over the inventory slots in both large chest mode True or False. This causes strange behaviors when there is an item in the slot. Including item loss in some cases.

Note: The Actually Additions author does use the API in the mod.

Screenshot:
Storage Crate

commented

This is a significant problem when using the buttons to sort a mostly-full inventory. Clicking the sort button causes a pickup event on the items in the slot it's in, but the sorting actually seems to make it look like you haven't actually picked up the item - it's not attached to your cursor. If you then subsequently close that inventory, the items that were actually in your hand (despite the ui not showing them as such) get thrown on the ground.

It's a simple matter to pick them up and put them back in the chest, but it's unbelievably annoying after a while. Users and pack-makers should have the ability to place those buttons in a spot where they won't cause this behavior.

commented

Additionally changing the Minecraft GUI size does not change the button placement.

commented

It should place outside the visible area if you are not using NEI/JEI. The buttons get squashed in if those are active on large inventory displays to avoid overlapping their display (and most UIs have a large enough border on them that if it goes into the actual slots it's not by much)