Fix a startup error mentioning the Lightspeed Agent
If Java stops with Error opening zip file or JAR manifest missing or agent library failed Agent_OnLoad and names lightspeed-bootstrap-agent-*.jar, you can fix it from the launcher.
- Open the instance’s JVM arguments. PCL2: Version Settings → Settings → Advanced Launch Options. Prism (Windows, Linux, macOS): Edit Instance → Settings → Java. Check global Java settings too if the instance inherits them.
- Delete the whole
-javaagent:argument that points tolightspeed-bootstrap-agent-*.jar, including surrounding quotes. Remove its-Dlightspeed.agent.owner=…and-Dlightspeed.bootstrapCacheDir=…entries. Keep memory settings and other mods’ agents. - Clear a Lightspeed pre-launch command that points to
pack-compiler.cmdorpack-compiler.sh. In Prism, this is under Settings → Custom Commands. In PCL2, it is under Advanced Launch Options. - Update LightSpeedRe. If you are staying on an older build, set
installBootstrapAgent = falsein the instance’sconfig/lightspeed-common.toml. Fully quit and reopen the launcher before launching again.
启动报错修复(简体中文)
- 在 PCL2 的「版本设置 → 高级启动选项」或 Prism 的「编辑实例 → 设置 → Java」打开 JVM 参数。如果实例沿用全局参数,也检查启动器的全局 Java 设置。
- 删除指向
lightspeed-bootstrap-agent-*.jar的整条-javaagent:参数和它两边的引号,并移除这一组的-Dlightspeed.agent.owner=…、-Dlightspeed.bootstrapCacheDir=…。保留内存参数和其他模组的 Agent。 - 若启动前命令引用 Lightspeed 的
pack-compiler.cmd或pack-compiler.sh,只清空该命令。升级模组,或在旧版的config/lightspeed-common.toml中设置installBootstrapAgent = false,然后完全关闭并重新打开启动器。
Modpack authors should clear these local settings from exported profiles. 整合包作者应在分发前清理导出配置里的这些本机设置。
Full guide and repair script · 完整中文教程与修复脚本
This is a high-version (1.20.1+) port of the Lightspeed mod.
It removes the model-baking optimizations that were already implemented in vanilla Minecraft 1.20.1, keeping only the resource-pack cache feature, which speeds up launch times.
(Currently, only ports for Forge 1.20.1 and NeoForge 1.21.1 are planned.)
Since version 1.2.0+, this mod introduces high-concurrency loading to improve startup speed. If you encounter any issues while using this mod, please try disabling the related option in the configuration file.