A mod that adds your armor to the hud modrinth.com/mod/simple-armor-hud
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: changed matrix calculations with new methods

+3 -3
+3 -3
src/client/java/com/armorhud/mixin/client/armorHudMixin.java
··· 75 75 private void renderArmorPiece(DrawContext context, float x, float y, PlayerEntity player, ItemStack stack) { 76 76 if (stack.isEmpty()) return; 77 77 78 - context.getMatrices().push(); 79 - context.getMatrices().translate(x, y, 0); 78 + context.getMatrices().pushMatrix(); 79 + context.getMatrices().translate(x, y); 80 80 81 81 context.drawItem(player, stack, 0, 0, 1); 82 82 83 83 context.drawStackOverlay(this.client.textRenderer, stack, 0,0); 84 - context.getMatrices().pop(); 84 + context.getMatrices().popMatrix(); 85 85 } 86 86 87 87 @Unique