1.0.54 - Index of mouse click in cooking table is off
tivec opened this issue ยท 2 comments
I crafted the new cooking table and ran into the following issue:
I scroll down once and hover the kiwi juice:
I click it, and it properly shows the recipe:
Finally, to craft it I have to click on the cell + 1 (in this case, one to the right):
If I scroll one more down, the offset has to be +2 for it to craft the correct recipe. I suspect that it will be +3 for another tick of the scroll wheel.
While I am not familiar with your code, I think the issue comes out of this function https://github.com/blay09/CookingForBlockheads/blob/master/src/main/java/net/blay09/mods/cookingbook/client/GuiRecipeBook.java#L256
Gotcha @bakaxyf, updated the post with embedded images :)