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.
Tested and verified on both GTCEu 7.0.1 and 7.0.2 environments — from startup through KJS script loading to normal gameplay.
asPatternKey, STRICT_ITEM_STACK) were completely removed in KubeJS 2101.7.x and cannot be restored. Use KubeJS's native shaped / shapeless recipe types for worktable recipes instead.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.