介绍
StarEngine
Shared engine library for the Astral Dice mod family.
Do you need to install this?
| Astral Dice build | Install StarEngine separately? |
|---|---|
| NeoForge 1.21.1 | Yes. Since 2026-10-20 this build no longer embeds the library. |
| Forge 1.20.1 | Yes, same rule. |
| NeoForge 26.1.2 | No. The library is still embedded. |
| Fabric 1.20.1 | No. The library is still embedded. |
For the two builds that need it, drop starengine-*.jar into mods next to Astral Dice. The version has to match the one the mod was compiled against. A missing library stops the game with “Missing or unsupported mandatory dependencies”.
What is inside
- Dice battle resolution and spell damage classification.
- Sign hook dispatch and active-skill locking.
- Chip effect helpers.
- Star coin wallet storage, with NBT migration from the old
starengine_libkey. - Team relations for FTB Teams and OpenPAC, elite and boss detection, hold-to-select targeting.
- A timer seam that the consuming mod implements.
The library registers no items, blocks or effects. Every registry entry stays in the consuming mod, so upgrading the library never changes the owner of a ResourceLocation and cannot break saves or data packs.
Compatibility
| Build | Minecraft | Loader | Java |
|---|---|---|---|
starengine-neoforge-1.21.1 |
1.21.1 | NeoForge 21.1.235 | 21 |
starengine-forge-1.20.1 |
1.20.1 | Forge 47.4.10 | 17 |
starengine-neoforge-26.1.2 |
26.1.2 | NeoForge 26.1.2.109 | 25 |
starengine-fabric-1.20.1 |
1.20.1 | Fabric Loader 0.19.5 | 17 |
Curios and Trinkets are compile-time dependencies of the library only. They are not declared as library requirements, because the consuming mod owns that decision.
Where to get builds
- Modrinth and CurseForge carry the platform jars.
- The GitHub repository serves source only. Its Releases hold source archives and no jars.
Building from source
./gradlew build # all four platforms
./gradlew :neoforge-1.21.1:publishToMavenLocal # local maven for a consumer build
The shared source lives in common/src/main/java and is compiled once per platform. Each platform subproject adds that directory to its own source set.
Licence
Source is published in the repository. Third-party assets keep their own licences and are listed in the consuming mod.
常见问题
StarEngine 支持哪些 Minecraft 版本?
StarEngine 支持 Minecraft Java 版 1.20.1–26.1.2,共 3 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
StarEngine 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分