From 4b52540924ca9c930f61d9095fcc5d09c520df1e Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 10 Jul 2024 01:40:08 +0200 Subject: Fix gender mod integration --- .../firmament/mixins/custommodels/PatchArmorTexturesInGenderMod.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/moe/nea/firmament') diff --git a/src/main/java/moe/nea/firmament/mixins/custommodels/PatchArmorTexturesInGenderMod.java b/src/main/java/moe/nea/firmament/mixins/custommodels/PatchArmorTexturesInGenderMod.java index 833c7d9..99f956a 100644 --- a/src/main/java/moe/nea/firmament/mixins/custommodels/PatchArmorTexturesInGenderMod.java +++ b/src/main/java/moe/nea/firmament/mixins/custommodels/PatchArmorTexturesInGenderMod.java @@ -16,9 +16,11 @@ import net.minecraft.item.ArmorMaterial; import net.minecraft.item.ItemStack; import net.minecraft.registry.entry.RegistryEntry; import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.Pseudo; import org.spongepowered.asm.mixin.injection.At; @Mixin(GenderArmorLayer.class) +@Pseudo public class PatchArmorTexturesInGenderMod { @WrapOperation(method = "render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFFFFF)V", at = @At(value = "INVOKE", target = "Lnet/minecraft/item/ArmorItem;getMaterial()Lnet/minecraft/registry/entry/RegistryEntry;")) -- cgit