Compatibility issue with Nether Chested by Fuzs
LessThanBenji opened this issue ยท 5 comments
This issue is two-fold:
Firstly, the RMB tweak causes an instant crash if used in the Nether Chest inventory. Most likely an issue to be fixed on its end, and it's on its issue tracker already, but thought I'd mention it here too; and
Secondly, the scroll wheel tweak doesn't recognize the Nether Chest's increased stack size of 512 -- it stops adding items to stacks inside the Chest via scrolling once the stack reaches 64 items. It doesn't cause a crash, it just stops pulling more items.
(I've noticed these issues in 1.20.1, using Fabric 0.15.6, with Mouse Tweaks v2.25 and Nether Chested v8.0.3).
Firstly, the RMB tweak causes an instant crash if used in the Nether Chest inventory. Most likely an issue to be fixed on its end, and it's on its issue tracker already, but thought I'd mention it here too; and
Yeah, crashes are likely not Mouse Tweaks fault.
Secondly, the scroll wheel tweak doesn't recognize the Nether Chest's increased stack size of 512 -- it stops adding items to stacks inside the Chest via scrolling once the stack reaches 64 items. It doesn't cause a crash, it just stops pulling more items.
That sounds weird. In Mouse Tweaks I use getMaxStackSize()
everywhere, I don't hardcode anything.
Fuzs, the author of Nether Chested, has said this on their issue tracker in regards to this issue:
"The issue is that Minecraft has three methods for retrieving a max stack size, one on ItemStack
, and two on Slot
, where one takes an ItemStack
while the other one does not and just returns the max stack size of the Container
.
For Nether Chested to work properly it's important to use Slot::getMaxStackSize(ItemStack)
and none of the others, but all three are unfortunately easily mixed up since in vanilla they pretty much are interchangeable."
I fixed the scrolling issue in 91ece88; I don't get any crashes.