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: fixed configscreen and keybinds

legoraft 1cec3f50 3f5cfd9a

+3 -2
+1 -1
src/client/java/com/armorhud/armorHud.java
··· 28 28 29 29 public void handleKeys() { 30 30 ClientTickEvents.END_CLIENT_TICK.register(client -> { 31 - if (keyBindings.armorHudToggle.wasPressed()) { 31 + if (keyBindings.armorHudToggle.consumeClick()) { 32 32 config.ARMOR_HUD = !config.ARMOR_HUD; 33 33 } 34 34 });
+2 -1
src/client/java/com/armorhud/util/armorHudModMenu.java
··· 3 3 import com.armorhud.config.configScreen; 4 4 import com.terraformersmc.modmenu.api.ConfigScreenFactory; 5 5 import com.terraformersmc.modmenu.api.ModMenuApi; 6 + import net.minecraft.client.gui.screens.Screen; 6 7 7 8 public class armorHudModMenu implements ModMenuApi { 8 9 ··· 11 12 return this::createConfigScreen; 12 13 } 13 14 14 - private configScreen createConfigScreen(configScreen parent) { 15 + private Screen createConfigScreen(Screen parent) { 15 16 return new configScreen(parent); 16 17 } 17 18