diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-10 01:40:08 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-10 03:14:56 +0200 |
commit | 4b52540924ca9c930f61d9095fcc5d09c520df1e (patch) | |
tree | d0e8d40c238378248a3c0c48318af610aa8078a6 /src | |
parent | 986ce538f123cdec7e0da12ed89ba7225539df0a (diff) | |
download | Firmament-4b52540924ca9c930f61d9095fcc5d09c520df1e.tar.gz Firmament-4b52540924ca9c930f61d9095fcc5d09c520df1e.tar.bz2 Firmament-4b52540924ca9c930f61d9095fcc5d09c520df1e.zip |
Fix gender mod integration
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/moe/nea/firmament/mixins/custommodels/PatchArmorTexturesInGenderMod.java | 2 |
1 files changed, 2 insertions, 0 deletions
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;")) |