GregLink
A runtime compatibility mod that bridges GregTech CEu Modern and KubeJS 2101.7.x on NeoForge 1.21.1.
介绍
What is GregLink?
GregLink is a runtime compatibility bridge that makes GregTech CEu Modern work with KubeJS 2101.7.x on NeoForge 1.21.1.
Starting from KubeJS 2101.7.0, the recipe component API was significantly restructured — class paths were relocated, field types changed, and interfaces swapped with classes. These breaking changes prevent GTCEu from launching, crashing at the world selection screen with a NullPointerException.
GregLink works as a CoreMod, dynamically patching GTCEu’s bytecode at startup to resolve these incompatibilities. No GTCEu or KubeJS jar files are modified — deleting GregLink restores everything to its original state.
Features
- Zero-intrusion — Does not modify GTCEu or KubeJS jars. All patching happens in memory at launch.
- Plug-and-play — Drop it into your mods folder, no configuration needed.
- Fully reversible — Remove GregLink.jar and everything reverts.
- All core functionality preserved — Machine recipes, materials, world generation, and JEI integration all work normally.
Compatibility
- Minecraft: 1.21.1
- Mod Loader: NeoForge 21.1+
- GTCEu Modern: 7.0.1 / 7.0.2 (7.0.x series)
- KubeJS: 2101.7.x
Tested and verified on both GTCEu 7.0.1 and 7.0.2 environments — from startup through KJS script loading to normal gameplay.
Known Issues
- GT Shaped Recipe Schema is disabled. The underlying KJS API methods (
asPatternKey,STRICT_ITEM_STACK) were completely removed in KubeJS 2101.7.x and cannot be restored. Use KubeJS’s nativeshaped/shapelessrecipe types for worktable recipes instead.
License & Credits
GregLink is released under the MIT License.
GregTech CEu Modern is licensed under LGPL-3.0, Copyright © GregTech CEu Team. GregLink does not contain or redistribute any GTCEu source code; it operates purely as a runtime compatibility layer.
常见问题
GregLink 支持哪些 Minecraft 版本?
GregLink 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
GregLink 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分