[Suggestion] Compatibility with Infinitory mod
Furgl opened this issue ยท 2 comments
Infinitory is my mod that adds extra slots to the player's inventory dynamically. It does this by changing the indices of slots, which breaks compatibility with many inventory slot mods, including BackSlot. Unfortunately, there's not much I can do to fix this in Infinitory, but there should be a fairly simple fix that you can add to BackSlot, if you'd like:
Rather than using hardcoded slot indices, like in IngameHudMixin, BackToolFeatureRenderer, and BeltSlotFeatureRenderer, you could store the slots that you add in PlayerScreenHandlerMixin and call slot.getIndex()
Since this compatibility issue is only caused by my mod, I completely understand if you don't want to make changes to your mod to fix it.