Skip to content

补全 NeoForge 和 CurseForge 依赖元数据 - #460

Merged
QiuYe-QAQ merged 1 commit into
1.21from
qy/complete-dependency-metadata
Nov 20, 2026
Merged

QiuYe-QAQ merged 1 commit into
1.21from
qy/complete-dependency-metadata

Conversation

@QiuYe-QAQ

Copy link
Copy Markdown
Member

What / 目的

补齐 Data Energistics 的 NeoForge 依赖声明和 CurseForge 发布元数据。依赖范围以 DE 自己的 API 调用、集成入口和条件 Mixin 为准。

Implementation Details / 实现细节

  • 在每项依赖自己的 mc-publish 子表填写 CurseForge 项目 slug。FTB 项目使用经核对的 slug。
  • CTM、Configuration 和 PolyMixin 保留 embedded = true。固定版本 mc-publish v3.3.1 的 NeoForge 解析器从 type 或 mandatory 推断关系,因此用三条 (embedded) 覆盖生成 CurseForge 的 embeddedLibrary。

Outcome / 结果

  • 补齐直接集成的可选依赖,省略仅由其他模组提供或只在配方中引用的条目。
  • AE2WTLib 改为可选。Minecraft 声明为 1.21.1,NeoForge 最低版本对齐到 LDLib2 要求的 21.1.216。

How Was This Tested / 测试方式

  • gradlew.bat --offline assemble 通过,产物内的 TOML 与 Gradle 生成的文件一致。
  • 用 mc-publish v3.3.1 本地解析最终 JAR,验证 58 条 CurseForge 关系,其中 CTM、Configuration 和 PolyMixin 为内嵌关系。
  • git diff --check 和 UTF-8 无 BOM 检查通过。验证范围覆盖本地打包与发布关系生成。

@github-actions github-actions Bot added 1.21 Tests: Passed Game Tests have passed on this PR labels Nov 20, 2026
@QiuYe-QAQ QiuYe-QAQ added type: bugfix General bug fixes Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Nov 20, 2026
@QiuYe-QAQ
QiuYe-QAQ merged commit 36137cb into 1.21 Nov 20, 2026
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant