tutorial:screenhandler
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
tutorial:screenhandler [2022/12/21 01:41] – item groups in 1.19.3 haykam | tutorial:screenhandler [2023/09/14 01:42] – [ScreenHandler and Screen] wjz_p | ||
---|---|---|---|
Line 261: | Line 261: | ||
int y = (height - backgroundHeight) / 2; | int y = (height - backgroundHeight) / 2; | ||
drawTexture(matrices, | drawTexture(matrices, | ||
+ | //in 1.20 or above,this method is in DrawContext class. | ||
} | } | ||
tutorial/screenhandler.txt · Last modified: 2024/02/19 02:51 by netuserget