From 25f0e7fd62db22036969120843165f4759530b8f Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 17 Jul 2025 11:52:28 +0200 Subject: feat: Launch on 1.21.7 --- .../nea/firmament/mixins/custommodels/CustomSkullTexturePatch.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/texturePacks/java/moe/nea/firmament/mixins/custommodels/CustomSkullTexturePatch.java') diff --git a/src/texturePacks/java/moe/nea/firmament/mixins/custommodels/CustomSkullTexturePatch.java b/src/texturePacks/java/moe/nea/firmament/mixins/custommodels/CustomSkullTexturePatch.java index fede766..cc59d99 100644 --- a/src/texturePacks/java/moe/nea/firmament/mixins/custommodels/CustomSkullTexturePatch.java +++ b/src/texturePacks/java/moe/nea/firmament/mixins/custommodels/CustomSkullTexturePatch.java @@ -16,11 +16,11 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; @Mixin(SkullBlockEntityRenderer.class) public class CustomSkullTexturePatch { @Inject( - method = "getRenderLayer(Lnet/minecraft/block/SkullBlock$SkullType;Lnet/minecraft/component/type/ProfileComponent;Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/RenderLayer;", + method = "getRenderLayer", at = @At("HEAD"), cancellable = true ) - private static void onGetRenderLayer(SkullBlock.SkullType type, ProfileComponent profile, Identifier texture, CallbackInfoReturnable cir) { + private static void onGetRenderLayer(SkullBlock.SkullType type, ProfileComponent profile, CallbackInfoReturnable cir) { CustomSkyBlockTextures.INSTANCE.modifySkullTexture(type, profile, cir); } } -- cgit