Inspecio icon indicating copy to clipboard operation
Inspecio copied to clipboard

compatibility with other mods with custom inventory sizes

Open rmobis opened this issue 2 years ago • 0 comments

I develop (if you can call that developing) a mod for shulker box enchantments (supershulkers), one of which increases the inventory size of said shulker boxes from 27 to 36/45/54. However, Inspecio only displays the first 27.

A similar mod (ShulkerBoxTooltip) has an interface that other mods can implement in order to provide it this kind of information and the implementation, at least from my side, was relatively easy. This is useful not only for shulker boxes but potentially for any modded item.

I'm wondering if there is any similar way to let Inspecio know how many slots a given container has. From snooping around the code on InventoryTooltipComponent.java, I'm inclined to assume there isn't, so I'm also wondering if you'd be willing to accept a PR that works toward it or something else.

rmobis avatar Sep 12 '21 21:09 rmobis