mirror of
https://github.com/CompeyDev/elytra-lock-fabric.git
synced 2024-12-12 12:50:42 +00:00
Add mod icon and ingame indicator icons (#1)
This commit is contained in:
parent
a1923e3ad4
commit
c7adac472f
5 changed files with 10 additions and 2 deletions
|
@ -19,6 +19,6 @@ public class HudRenderHandler implements HudRenderCallback {
|
|||
Window window = ElytraLock.client.getWindow();
|
||||
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 |
|
@ -13,6 +13,14 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"contributors": [
|
||||
{
|
||||
"name": "intergrav",
|
||||
"contact": {
|
||||
"homepage": "https://github.com/intergrav"
|
||||
}
|
||||
}
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "https://fabricmc.net/",
|
||||
"sources": "https://git.devcomp.xyz/DevComp/elytra-lock-fabric",
|
||||
|
@ -42,4 +50,4 @@
|
|||
"yet_another_config_lib_v3": "*",
|
||||
"modmenu": "*"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue