maruohon / itemscroller

A client-side Minecraft mod that adds various convenient ways of moving items within inventory GUIs, such as scrolling over stacks to move single items to or from it
GNU Lesser General Public License v3.0
147 stars 68 forks source link

[Bug] massCraftSwapsOnly is buggy in 1.20.4 #108

Open AsOne2020 opened 2 months ago

AsOne2020 commented 2 months ago

When you enable the massCraftSwapsOnly option and press the massCraft key, only items in the inventory will be automatically crafted, not items in the backpack. The reason for this is that in 1.20.4, when using the swap method to craft items, only items in the inventory or a sidekick can be swapped.

AsOne2020 commented 2 months ago

the following is related code in ScreenHandler.internalOnSlotClick if (actionType == SlotActionType.SWAP && (button >= 0 && button < 9 || button == 40)) {