Draw slots relative to inventory and not the entire screen
Cynosphere opened this issue ยท 1 comments
This can be simplified by using this.x
and this.y
There is also RecipeBookWidget.findLeftEdge
so you don't have to hardcode and assume nothing will modify the position of the recipe book.
Slots will break with both Better Recipe Book and Scout (Cynosphere-mc/Scout#20) due to the recipe book position being hardcoded.
Changed with 794e1d5