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.

Merge branch: Onako2/update-1.21.3

Updated to 1.21.3

authored by

Legoraft and committed by
GitHub
a30f3125 2d4e504a

+10 -12
+1 -1
build.gradle
··· 1 1 plugins { 2 - id 'fabric-loom' version '1.6-SNAPSHOT' 2 + id 'fabric-loom' version '1.8-SNAPSHOT' 3 3 id 'maven-publish' 4 4 5 5 }
+6 -6
gradle.properties
··· 4 4 5 5 # Fabric Properties 6 6 # check these on https://fabricmc.net/develop 7 - minecraft_version=1.21 8 - yarn_mappings=1.21+build.2 9 - loader_version=0.15.11 7 + minecraft_version=1.21.3 8 + yarn_mappings=1.21.3+build.2 9 + loader_version=0.16.7 10 10 11 11 # Mod Properties 12 12 mod_version=1.5.0 ··· 14 14 archives_base_name=simple-armor-hud 15 15 16 16 # Dependency properties 17 - fabric_version=0.100.3+1.21 18 - modmenu_version=11.0.1 19 - trinkets_version=3.7.1 17 + fabric_version=0.107.0+1.21.3 18 + modmenu_version=12.0.0-beta.1 19 + trinkets_version=3.10.0
+1 -1
gradle/wrapper/gradle-wrapper.properties
··· 1 1 distributionBase=GRADLE_USER_HOME 2 2 distributionPath=wrapper/dists 3 - distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip 3 + distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip 4 4 networkTimeout=10000 5 5 zipStoreBase=GRADLE_USER_HOME 6 6 zipStorePath=wrapper/dists
-2
src/client/java/com/armorhud/armorHud.java
··· 1 1 package com.armorhud; 2 2 3 3 import com.armorhud.armor.ArmorAccessor; 4 - import com.armorhud.armor.TrinketsArmorAccessor; 5 4 import com.armorhud.armor.VanillaArmorAccessor; 6 5 import com.armorhud.config.config; 7 6 import com.armorhud.util.armorHudRegistries; 8 7 import net.fabricmc.api.ClientModInitializer; 9 8 import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents; 10 - import net.fabricmc.loader.api.FabricLoader; 11 9 import org.slf4j.Logger; 12 10 import org.slf4j.LoggerFactory; 13 11
+1 -1
src/client/java/com/armorhud/mixin/client/armorHudMixin.java
··· 85 85 86 86 context.drawItem(player, stack, 0, 0, 1); 87 87 88 - context.drawItemInSlot(this.client.textRenderer, stack, 0,0); 88 + context.drawStackOverlay(this.client.textRenderer, stack, 0,0); 89 89 context.getMatrices().pop(); 90 90 } 91 91
+1 -1
src/main/resources/fabric.mod.json
··· 14 14 }, 15 15 "license": "LGPL-2.1", 16 16 "icon": "assets/simple-armor-hud/icon.png", 17 - "environment": "*", 17 + "environment": "client", 18 18 "entrypoints": { 19 19 "client": [ 20 20 "com.armorhud.armorHud"