Add mod icon and ingame indicator icons (#1)

This commit is contained in:
devin 2024-05-24 22:43:00 -04:00 committed by GitHub
parent a1923e3ad4
commit c7adac472f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 2 deletions

View file

@ -19,6 +19,6 @@ public class HudRenderHandler implements HudRenderCallback {
Window window = ElytraLock.client.getWindow(); Window window = ElytraLock.client.getWindow();
int width = window.getScaledWidth(), height = window.getScaledHeight(); int width = window.getScaledWidth(), height = window.getScaledHeight();
context.drawGuiTexture(icon, (width / 2) + 95, height - HEIGHT - 3, WIDTH, HEIGHT); context.drawTexture(icon, (width / 2) + 95, height - HEIGHT - 3, 0, 0, WIDTH, HEIGHT, WIDTH, HEIGHT);
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 479 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 471 B

View file

@ -13,6 +13,14 @@
} }
} }
], ],
"contributors": [
{
"name": "intergrav",
"contact": {
"homepage": "https://github.com/intergrav"
}
}
],
"contact": { "contact": {
"homepage": "https://fabricmc.net/", "homepage": "https://fabricmc.net/",
"sources": "https://git.devcomp.xyz/DevComp/elytra-lock-fabric", "sources": "https://git.devcomp.xyz/DevComp/elytra-lock-fabric",