BackSlot

BackSlot

3M Downloads

[Suggestion] Compatibility with Infinitory mod

Furgl opened this issue ยท 2 comments

commented

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.

commented

Sounds good, definitely open for a PR :)

commented

I have no plans to add compatibility from my side. Reopen this issue if somebody is open to create a PR.