fix: fetch the Forge version list and installer from the client mirror first #25

Merged
layue13 merged 1 commits from fix/forge-list-from-client-mirror into main 2026-11-19 04:55:54 +00:00
Owner

Requested by Ethyn · project thread

问题

玩家在首页「正在同步整合包」一直转圈。日志显示装 Forge 时请求 https://bmclapi.bangbang93.com/forge/minecraft/1.7.10 连接超时(BMCLAPI 和官方源在很多大陆网络不可达),Forge 版本列表只走 BMCLAPI/官方。

改动

  • Forge 版本列表先试 <fileApi>/forge/minecraft/<mc>(BMCLAPI 格式),再回退 BMCLAPI 和官方。
  • files.minecraftforge.net/maven(http 和 https)安装包下载新增 VPS 优先规则,指向 <fileApi>/forge-maven。

服务端(已就绪,只新增文件)

  • forge/minecraft/1.7.10:只含 Forge 10.13.4.1614 的列表。
  • forge-maven/.../forge-1.7.10-10.13.4.1614-1.7.10-installer.jar(sha1 fccafccf8ad4ce6d9f008e786b48ff53172bf9de,与官方一致)。

验证

./gradlew :HMCL:compileJava 通过。未在真实 Windows 客户端上完整跑过同步流程,发版后请让卡住的玩家实测。

🤖 Generated with Claude Code

<!-- claude-projects-attribution --> _Requested by **Ethyn** · [project thread](https://claude.ai/code/project/chan_01DUNCDJLEksDHKpX5X5cThi?thread=cmsg_01DUNCDJLEksDHKpX5X5cThi5ES2gfVWtysJvCDcYQRo4T)_ ## 问题 玩家在首页「正在同步整合包」一直转圈。日志显示装 Forge 时请求 `https://bmclapi.bangbang93.com/forge/minecraft/1.7.10` 连接超时(BMCLAPI 和官方源在很多大陆网络不可达),Forge 版本列表只走 BMCLAPI/官方。 ## 改动 - Forge 版本列表先试 `<fileApi>/forge/minecraft/<mc>`(BMCLAPI 格式),再回退 BMCLAPI 和官方。 - `files.minecraftforge.net/maven`(http 和 https)安装包下载新增 VPS 优先规则,指向 `<fileApi>/forge-maven`。 ## 服务端(已就绪,只新增文件) - `forge/minecraft/1.7.10`:只含 Forge 10.13.4.1614 的列表。 - `forge-maven/.../forge-1.7.10-10.13.4.1614-1.7.10-installer.jar`(sha1 fccafccf8ad4ce6d9f008e786b48ff53172bf9de,与官方一致)。 ## 验证 `./gradlew :HMCL:compileJava` 通过。未在真实 Windows 客户端上完整跑过同步流程,发版后请让卡住的玩家实测。 🤖 Generated with [Claude Code](https://claude.com/claude-code)
layue13 added 1 commit 2026-11-19 04:55:32 +00:00
fix: fetch the Forge version list and installer from the client mirror first
Mirror Repository / Mirror to CNB (push) Skipped
Mirror Repository / Mirror to Gitee (push) Skipped
Java CI / build (pull_request) Failing after 1h30m6s
130d265393
BMCLAPI's /forge/minecraft/<mc> list times out on many mainland networks, so
the home sync stalled at the Forge step. Try <fileApi>/forge/minecraft/<mc>
(BMCLAPI format) before BMCLAPI/official, and route files.minecraftforge.net
installer downloads to the mirror's forge-maven.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
layue13 merged commit 47ffbb5e10 into main 2026-11-19 04:55:54 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TDLM/HMCL#25