Scalar 是 Cleanroom 的 Scala 语言支持模块。它为新的 Cleanroom 模组提供 Scala 3 库。
是的,你可以在 1.12.2 中使用 Scala 3 + Java 21 进行开发!
如果你需要 Scalar 提供与旧版 Forge 模组兼容的Scala 2.11,请使用 Scalar Legacy。
要运行使用 Scala 3 开发的新的 Cleanroom 模组(例如 OpenComputers Rescaled),必须安装此模组。
常见问题解答:
- 问:什么是 Cleanroom?
- 答:Cleanroom 是一个1.12.2 Forge 分支,提供更新的工具链、新的 API以及99% 的兼容性。我们的计划是让 1.12.2 跟上最新的工具链,同时为 Forge 和原版游戏添加更多功能,这样我们就不必再担心高版本中 X 个版本更新 * Y 种模组 API 带来的痛苦了。
- 问:如何安装 Cleanroom?
- 答:请遵循 README 中的说明。
- 问:我可以将它包含在我的 Forge 整合包中吗?它会破坏我的 Forge 整合包吗?
- 答:可以,而且它是安全的!在 Forge 环境下,此模组不会被加载,也不会导致任何崩溃。
- 问:为什么还要做另一个项目?
- 答:将 Scala 3 支持和 Scala 2 支持放在同一个项目中会导致混乱和不必要的崩溃报告。因此,Scala 2 支持现在归属于一个独立的项目。
- 问:为什么不直接把 Scala 集成到加载器中?
- 答:Scala 2.11 已被弃用,无法在 Java 21+ 下编译。我们的目标不仅是提供运行时环境,还包括最新的开发工具链,因此转向 Scala 3 至关重要。让 Scala 成为独立的模组是目前唯一的解决方案。
注意:由于 CurseForge 尚不支持 Cleanroom,模组文件被标记为“Forge”。
Scalar is a Scala language provider for Cleanroom. It provides Scala 3 library for new Cleanroom mods.
Yes, you can develop with Scala 3 + Java 21 in 1.12.2!
If you want the Scalar providing Scala 2.11 which compats with legacy Forge mods, please use Scalar Legacy.
To run new Cleanroom mods developed in Scala 3 (like OpenComputers Rescaled), this mod is necessary.
FAQ:
- Q: What is Cleanroom?
- A: Cleanroom is a 1.12.2 Forge fork, providing newer toolchain, new APIs and 99% compatibility. Our plan is to make 1.12.2 up-to-date with latest toolchain while adding more feature to Forge & vanilla, so we don't need to care about higher versions' X point release * Y Mod API headache.
- Q: How to install Cleanroom?
- A: Please follow the instructions in README.
- Q: Can I include this in my Forge modpack? Will it crash my Forge pack?
- A: Yes, you can, and it is safe! This mod won't be loaded or crash anything in a Forge environment.
- Q: Why make another project?
- A: Putting Scala 3 provider and Scala 2 provider in same project keep producing confusion and unnecessary crash reports. So Scala 2 provider now belong to a new project.
- Q: Why not just include Scala in the loader?
- A: Scala 2.11 is deprecated and can't be compiled against under Java 21+. Our goal is not only providing a runtime but also latest development toolchain, so switching to Scala 3 is important. Make Scala become standalone mods is the only solution here.
Note: mod files marked as "Forge" because CurseForge doesn't support Cleanroom yet.
下载 Scalar
下载 Scalar
下载 Scalar
下载 Scalar
下载 Scalar
下载 Scalar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Scalar
下载 Scalar
下载 Scalar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Scalar
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 更新到 Scala 3.10.0
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧