Skip to content

Forge 1.20.1:修复配方、化学品样板与悬浮提示并清理 / Recipe, chemical-pattern and tooltip fixes - #54

Open
AyaYumi wants to merge 3 commits into
SorrowMist:develop/1.20.1from
AyaYumi:codex/forge-1.20.1-recipe-cleanup
Open

AyaYumi wants to merge 3 commits into
SorrowMist:develop/1.20.1from
AyaYumi:codex/forge-1.20.1-recipe-cleanup

Conversation

@AyaYumi

@AyaYumi AyaYumi commented Oct 25, 2026 •

Copy link
Copy Markdown

中文

改动

  • 更新 Forge 1.20.1 本体至 20.2.4.9,基于最新 develop/1.20.1,承接已合并的 Forge 1.20.1: align optional dependencies and fix config application #49。
  • 修复旧版 JEI 流体槽 API 兼容;有用锭的 10,000,000 mB 熔岩成本保持不变。
  • 修复 JEI/原生 AE2 EMI 万象样板选择与编码,保留确切配方来源、身份、自定义 AE 键及数量;普通机器页面仍编码普通处理样板。
  • 修复原生机器页化学品填入:桥接 AE2 的 JEI/EMI 转换器,保留原生自定义 AE 键与 long 数量,富集碳输出为 80 mB 而不是丢失或变成 1。保留原生 JEI 类型、改量后的 ghost-drag 与物品/流体原有路径。
  • 修复化学品槽悬浮类型异常:JEMI 复制并替换 renderer 后,使用对应类型和当前数量的 ingredient;保留 rich tooltip、自定义 renderer、复制改量和 runtime 缺失时的回退,不靠吞异常隐藏问题。
  • 兼容 AdvancedAE 1.2.7 的反应仓 API;修正 AE2 压印器的消耗输入与多个 AND 模具条件。
  • 补齐 Create 切割、排液及匠魂静态熔炼、合金、铸造转换,保留数量、概率、流体成本、NBT、铸模消耗和副产物;不将动态状态配方伪装成固定产出。增加匠魂转换配置及三语文案。
  • 清理 CHANGELOG、临时客户端夹具、调试输出与三张确认未引用贴图;发布说明改用 GitHub Release 正文和既有提交记录回退。保留必要指南、许可证及回归测试,不提交整包副本、审计产物或测试 JAR。

验证

  • 本轮提交 6d189a0a 的 GitHub Actions build 已通过。
  • Java 17:./gradlew test --rerun portBridgeTest --rerun build --offline --max-workers=1 通过:62 项 JUnit(含 8 项原生化学品传输、5 项悬浮回归)、167 项桥接测试、10 项字节码契约;全部无失败、错误或跳过。
  • 此前兼容修复已通过 Sky Edition 隔离隐藏客户端验证,包括 22 轮真实 AE2 EMI C2S 编码、新增模具获取及普通样板隔离;清理和上游同步后重新通过上述普通构建。并非本次重新运行全部客户端场景。
  • 化学品传输修复此前通过完整整包副本中的 7 例真实原生 AE2 EMI 填入 → C2S → 编码/解码;富集碳输出确为 80 mB,化学品输入及 gas/pigment/slurry、普通物品/流体均覆盖,每次只消耗一张空白样板。此运行早于悬浮修复,不作为悬浮最终包的 GUI 证明。
  • 悬浮最终修复已有自动回归并经用户单独授权部署至 Sky Edition,旧包已备份;尚无独立的整包内悬浮复测结果。原整包配置、脚本、存档及担架未改。此次清理/推送不再次部署、不合并 PR、不创建 Release、不移动标签。
  • 资源检查:877 个 JSON 可解析,268 个本地模型贴图引用可解析;保留独立 xia 资源包与动态 CTM。普通包无测试/夹具泄漏。清除测试中间文件和遗留临时备份,不新增 CHANGELOG 或审计报告。

已知边界

ATM9 审计完成不等于全模组兼容通过:Thermal 温室 locked chance、龙研 IngredientStack 数量,以及匠魂/交易两端身份漂移仍未修复。本 PR 不声称补齐所有未注册或构建排除的适配器;配置关闭、脚本删除及动态规则也不强行恢复或简化。

English

Changes

  • Update the Forge 1.20.1 base mod to 20.2.4.9 on the latest develop/1.20.1, following merged PR Forge 1.20.1: align optional dependencies and fix config application #49.
  • Fix fluid-slot compatibility with older JEI versions without changing the useful ingot's 10,000,000 mB lava cost.
  • Preserve the explicitly selected omniversal recipe's source, identity, custom AE keys and quantities through JEI/native AE2 EMI encoding. Ordinary machine pages continue producing ordinary processing patterns.
  • Fix native-machine chemical filling by bridging AE2's JEI/EMI converters while preserving custom AE keys and long quantities: enriched carbon produces 80 mB rather than a missing output or 1. Preserve native JEI types, edited-amount ghost dragging and existing item/fluid paths.
  • Fix chemical hover type errors after JEMI copies a stack and replaces its renderer. Bind the correctly typed ingredient and current quantity; retain rich tooltips, custom renderers, copy/edit behavior and missing-runtime fallback instead of swallowing the exception.
  • Support AdvancedAE 1.2.7 reaction-chamber APIs and correct AE2 inscriber consumption and multiple AND-required molds.
  • Add Create cutting/emptying and static TConstruct melting/alloying/casting conversion, preserving quantities, chance, fluid costs, NBT, cast consumption and byproducts. Do not flatten dynamic-state recipes into fixed outputs. Add a TConstruct conversion setting and translations.
  • Remove CHANGELOG, temporary client fixtures, diagnostic output and three confirmed unused textures. Release notes use the GitHub Release body with the existing commit-history fallback. Keep essential guides, licenses and regression tests; exclude modpack copies, audit artifacts and test jars.

Validation

  • GitHub Actions build passed for this update (6d189a0a).
  • Java 17: ./gradlew test --rerun portBridgeTest --rerun build --offline --max-workers=1 passed: 62 JUnit tests (including 8 native-chemical transfer and 5 tooltip regressions), 167 bridge tests and 10 bytecode contracts, with no failures, errors or skips.
  • The compatibility fixes previously passed an isolated hidden Sky Edition client regression, including 22 real AE2 EMI C2S encoding rounds, new mold fetching and ordinary-pattern isolation. The normal build above was rerun after cleanup and upstream synchronization; all client scenarios were not rerun in this submission.
  • The chemical transfer fix previously passed 7 real native AE2 EMI fill → C2S → encode/decode cases in a complete modpack copy. Enriched carbon decoded to exactly 80 mB; chemical inputs, gas/pigment/slurry outputs and ordinary items/fluids were covered, consuming one blank pattern per case. This run predates the tooltip fix and is not GUI proof for the final hover package.
  • The final tooltip fix has automated regression coverage and was separately deployed to Sky Edition with explicit user authorization and an old-jar backup. An independent in-pack hover retest is still unconfirmed. Original configuration, scripts, saves and the addon were not changed. This cleanup/push performs no further deployment, PR merge, Release creation or tag movement.
  • Resource checks: 877 JSON files parse and 268 local model-texture references resolve. Retain the independent xia pack and dynamic CTM resources. The normal jar contains no tests/fixtures. Remove generated testing intermediates and stale temporary backups; add no CHANGELOG or audit report.

Known limits

Completing the ATM9 audit is not an all-mod compatibility pass. Thermal insolator locked chances, Draconic IngredientStack quantities, and TConstruct/trade client-server identity drift remain unresolved. This PR does not claim support for every unregistered/build-excluded adapter or restore disabled, script-removed or dynamic-rule recipes by weakening their semantics.

合并方式 / Merge method

当前分支已通过上游合并提交解决最终文件内容冲突。GitHub 的普通 Merge / Squash 可用,但自动 Rebase 会重新撞上早期清理提交对 CHANGELOG 的删除与上游修改冲突。本次正常推送、保留历史,不强推、不代为合并。

The branch already contains the resolved upstream merge. Normal Merge / Squash is available, but automatic Rebase replays the earlier CHANGELOG delete against upstream edits and conflicts. This update uses a normal push without rewriting history or merging the PR.

关联 / Related

配套附属 PR / Companion addon PR: 21i0/UselessStretcher#5

@AyaYumi AyaYumi changed the title Forge 1.20.1:修复配方与样板兼容并清理临时内容 / Recipe-pattern fixes and cleanup Forge 1.20.1:修复配方、化学品样板与悬浮提示并清理 / Recipe, chemical-pattern and tooltip fixes Oct 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant