aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/firmament
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-10 01:40:08 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-10 03:14:56 +0200
commit4b52540924ca9c930f61d9095fcc5d09c520df1e (patch)
treed0e8d40c238378248a3c0c48318af610aa8078a6 /src/main/java/moe/nea/firmament
parent986ce538f123cdec7e0da12ed89ba7225539df0a (diff)
downloadfirmament-4b52540924ca9c930f61d9095fcc5d09c520df1e.tar.gz
firmament-4b52540924ca9c930f61d9095fcc5d09c520df1e.tar.bz2
firmament-4b52540924ca9c930f61d9095fcc5d09c520df1e.zip
Fix gender mod integration
Diffstat (limited to 'src/main/java/moe/nea/firmament')
-rw-r--r--src/main/java/moe/nea/firmament/mixins/custommodels/PatchArmorTexturesInGenderMod.java2
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;"))