去掉 required-after:particlelib;项目名和 artifactId 改小写
Build / build (push) Successful in 15m16s

代码里没有任何类导入 ParticleLib,TDLM 的包里也没有这个模组,保留依赖会让模组无法加载。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
layue13andClaude Sonnet 5.5 committed 2026-10-11 04:22:50 -07:00
1 parent 7a7ddeb535
commit 67578c4c41
4 files changed
+6 -5

No files matched your search

+2 -2
View File
@@ -14,9 +14,9 @@ Build entries:
- `./gradlew build` compiles the decompiled sources and resources into `build/libs/` (Gradle wrapper + GTNH convention toolchain, same layout as `balumg`; run with JDK 25).
- `.gitea/workflows/build.yml` builds on push and on dispatch, and can publish to the TDLM Maven.
Known issues (not fixed on purpose, the decompile is kept faithful):
Known issues:
- `@Mod(dependencies = ...)` in `TA.java` still has `required-after:particlelib@[1,)`. No class imports ParticleLib, but the dependency string makes FML refuse to load the mod when ParticleLib is missing, and ParticleLib is not in TDLM.
- `@Mod(dependencies = ...)` in `TA.java`: the original had `;required-after:particlelib@[1,)`. No class imports ParticleLib and ParticleLib is not in TDLM, so TDLM removed it (a comment above `@Mod` says so). Everything else in the string is unchanged.
- `guiFactory = "mrdimka.thaumcraft.additions.config.ConfigurationGuiFactory"` points at a package that does not exist in the jar (the original author renamed packages from `mrdimka` to `pengu`); the config GUI factory will not be found.
- `mcmod.info` still says `"version": "???"`.
- Build status: `./gradlew build` succeeds locally with JDK 25 (2026-10-11). The built jar has 336 classes: every class of the original jar except the 12 `cofh.*` API classes, plus the same 282 resources. It has **not been run in a game**.
+1 -1
View File
@@ -10,7 +10,7 @@ version = "${providers.gradleProperty('modVersion').get()}-${gitCommit}"
afterEvaluate {
publishing.publications.named('maven', MavenPublication) {
groupId = project.group
artifactId = 'ThaumicAdditions'
artifactId = 'thaumicadditions'
version = project.version
}
}
+1 -1
View File
@@ -15,4 +15,4 @@ pluginManagement {
}
plugins { id 'com.gtnewhorizons.gtnhsettingsconvention' version '2.0.29' }
rootProject.name = 'ThaumicAdditions'
rootProject.name = 'thaumicadditions'
@@ -58,12 +58,13 @@ import thaumcraft.api.wands.StaffRod;
import thaumcraft.api.wands.WandCap;
import thaumcraft.api.wands.WandRod;
// TDLM: 去掉了原来的 ";required-after:particlelib@[1,)"。代码里没有任何类导入 ParticleLib,TDLM 的包里也没有这个模组。
@Mod(
modid = "thaumicadditions",
version = "0.41",
name = "Thaumic Additions",
guiFactory = "mrdimka.thaumcraft.additions.config.ConfigurationGuiFactory",
dependencies = "required-after:Thaumcraft@[4.2.3.5,);required-after:Forge@[10.13.3.137,);required-after:Baubles@[1.0.1.10,);required-after:particlelib@[1,)"
dependencies = "required-after:Thaumcraft@[4.2.3.5,);required-after:Forge@[10.13.3.137,);required-after:Baubles@[1.0.1.10,)"
)
public class TA {