GUIs do not render correctly when using HD resource packs
TheLMiffy1111 opened this issue ยท 2 comments
Describe the bug
GUIs do not render correctly when using HD resource packs.
Steps to Reproduce
- Install and load any HD resource pack with HD Reborn Core textures.
- Open any Tech Reborn machine's GUI
Screenshots
Using the BDcraft Reborn Core patch (https://bdcraft.net/community/viewtopic.php?t=8670) as an example:

Environment
- Minecraft: 1.20.1, 1.20.2, 1.20.4, 1.21.1, 1.21.4, 1.21.5
Additional context
This is caused by GuiSprites.drawSprite directly using the sprite width and height:
Thank you for reporting this bug.
You can download a preview build to fix it:
https://github.com/TechReborn/TechReborn/actions/runs/14411792280
(Download Artifacts and unzip the TechreBorn-5.12.5.jar MC 1.21.4)