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: more mappings changes

legoraft a157a817 169a7be8

+5 -5
+5 -5
src/client/java/com/armorhud/armor/ArmorAccessor.java
··· 1 1 package com.armorhud.armor; 2 2 3 - import net.minecraft.client.network.ClientPlayerEntity; 4 - import net.minecraft.entity.EquipmentSlot; 5 - import net.minecraft.item.ItemStack; 3 + import net.minecraft.client.player.LocalPlayer; 4 + import net.minecraft.world.entity.EquipmentSlot; 5 + import net.minecraft.world.item.ItemStackTemplate; 6 6 7 7 public interface ArmorAccessor { 8 8 9 - default void initialize(ClientPlayerEntity player) { 9 + default void initialize(LocalPlayer player) { 10 10 } 11 11 12 - ItemStack getArmorPiece(ClientPlayerEntity player, EquipmentSlot slot); 12 + ItemStackTemplate getArmorPiece(LocalPlayer player, EquipmentSlot slot); 13 13 }