Hey everyone,
I'm having a problem with my mod BetterStorage and the Storage Crates they add. Their inventory is dynamic and the internal inventory can't be directly accessed or modified. Instead there is a "block view" and "player view", which is for machines accessing the crates and players opening them, respectively.
Now it seems like many mods, if not most/all of them change the stackSize directly if they want to add items in a slot, whereas they should use setInventorySlotContents. ItemStack should be treated as immutable unless it's only used internally.
So yeah ... I'm not sure how I should about doing this. Writing a complicated system to add support for "wrong" code in other mods, or somehow getting all the modders to fix this issue which only affects my crates?
Any input would be nice, though I'm doing this mainly to get some more attention on this issue.
Thanks!