From 89cd4ace1f9dd18aeb877306ad33ba821219df7a Mon Sep 17 00:00:00 2001 From: LostInLinearPast <1283411677@qq.com> Date: Tue, 2 Dec 2025 19:12:45 +0800 Subject: [PATCH] version 0.1.1.2 hotfix --- build.gradle | 8 ++++++++ .../sccore/animation/data/GenericAnimationData.java | 10 ---------- .../sccore/animation/service/IAnimationService.java | 2 +- .../com/linearpast/sccore/core/datagen/ModLang.java | 4 ++-- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index f10fcc6..1916a64 100644 --- a/build.gradle +++ b/build.gradle @@ -235,6 +235,14 @@ publishing { password = System.getenv('LTDNexusPassword') ?: '' } } + maven { + name = 'MafuyuNexus' + url = 'https://maven.sighs.cc/repository/maven-releases/' + credentials { + username = System.getenv('MafuyuNexusUsername') ?: '' + password = System.getenv('MafuyuNexusPassword') ?: '' + } + } } } diff --git a/src/main/java/com/linearpast/sccore/animation/data/GenericAnimationData.java b/src/main/java/com/linearpast/sccore/animation/data/GenericAnimationData.java index 7025395..2f881fd 100644 --- a/src/main/java/com/linearpast/sccore/animation/data/GenericAnimationData.java +++ b/src/main/java/com/linearpast/sccore/animation/data/GenericAnimationData.java @@ -1,10 +1,6 @@ package com.linearpast.sccore.animation.data; -import dev.kosmx.playerAnim.core.data.KeyframeAnimation; -import dev.kosmx.playerAnim.minecraftApi.PlayerAnimationRegistry; import net.minecraft.resources.ResourceLocation; -import net.minecraftforge.api.distmarker.Dist; -import net.minecraftforge.api.distmarker.OnlyIn; import org.jetbrains.annotations.Nullable; import java.util.regex.Pattern; @@ -130,12 +126,6 @@ public class GenericAnimationData extends AnimationData { return camYaw; } - @Nullable - @OnlyIn(Dist.CLIENT) - public KeyframeAnimation getAnimation() { - return PlayerAnimationRegistry.getAnimation(key); - } - public @Nullable GenericAnimationData.LyingType getLyingType() { return lyingType; } diff --git a/src/main/java/com/linearpast/sccore/animation/service/IAnimationService.java b/src/main/java/com/linearpast/sccore/animation/service/IAnimationService.java index f98a823..4f390f2 100644 --- a/src/main/java/com/linearpast/sccore/animation/service/IAnimationService.java +++ b/src/main/java/com/linearpast/sccore/animation/service/IAnimationService.java @@ -290,7 +290,7 @@ public interface IAnimationService( translationString + command + animation + ".animation_resource_not_found", - "错误: 资源未找到,请检查资源或操作是否有误。", - "Error: Resource not found, please check if there are any errors in the resource or operation." + "错误: 资源未找到,请检查资源或操作是否有误: %s", + "Error: Resource not found, please check if there are any errors in the resource or operation : %s" )), ANIMATION_OPERATION_CANCELLED(new LangEntity<>( translationString + command + animation + ".animation_operation_cancelled",