BeansGalaxy / Beans-Backpacks-2

1.20 inventory management mod. Designed to solve inventory clutter and transferring items while belonging in vanilla Minecraft's aesthetic.
MIT License
23 stars 0 forks source link

Compat problem with Simple Inventory Sorter #94

Open Mergokan opened 6 months ago

Mergokan commented 6 months ago

Hi there! I absolutely adore this mod, but I was having a strange issue. If I use this inventory sorter (https://www.curseforge.com/minecraft/mc-mods/inventory-sorter) inside the backpack, the items just disappear?

BeansGalaxy commented 6 months ago

The Backpack's inventory is coded very differently than a typical vanilla chest so new items can be on top and there aren't any empty slots between items. It's likely that Simple Inventory is taking the items out, sorting them, but failing to put the items back in since it's the inserting items code that is changed the most.

The only way I could fix this issue would be either implement sorting myself or completely rethink the inventory and neither of those are good solutions.

Looking at the mod's page, you can use /inventorysorter bladd to add the last inventory you sorted to a blacklist. Use this on my backpacks to prevent your items from getting lost again.