Try to use the new CraftTweaker after the build-script changes were merged
Absolutely none of the zscripts parse, throwing errors all over the place.
After investigation and checking, it comes down to (at least, perhaps others) ClassRegistry.class - which is 4k in the "working" version and 500b in the "broken" version.
They decompile similarly - but! od -a reveals more:
I don't know how to migrate this to the new build script; custom code-generation code is tricky
Crash Report
[Uploading fml-client-latest-2.log…]()
Final Checklist
[X] I have searched this issue tracker and there is nothing similar already. Posting on a closed issue saying the crash still exists will prompt us to investigate and reopen it once we confirm your report.
[X] I can reproduce this crash consistently by following the exact steps I described above.
[X] I have asked other people and they confirm they also crash by following the exact steps I described above.
Your GTNH Discord Username
bombcar#1042
Your Pack Version
2.1.2.1pre
Your Server
SP
Type of Server
Single Player
Your Actions
Try to use the new CraftTweaker after the build-script changes were merged
Absolutely none of the zscripts parse, throwing errors all over the place.
After investigation and checking, it comes down to (at least, perhaps others) ClassRegistry.class - which is 4k in the "working" version and 500b in the "broken" version.
They decompile similarly - but!
od -a
reveals more:minetweaker/expand/ExpandStringminetweaker/expand/ExpandBool"minetweaker/expand/ExpandItemStack!minetweaker/expand/ExpandAnyArrayminetweaker/expand/ExpandFloatminetweaker/expand/ExpandShortminetweaker/expand/ExpandDoubleminetweaker/expand/ExpandByteminetweaker/expand/ExpandLongminetweaker/expand/ExpandInt!minetweaker/runtime/ITweaker#*minetweaker/api/tooltip/IngredientTooltips%!minetweaker/api/chat/IChatMessage'minetweaker/api/util/Position3f)(minetweaker/api/entity/I
It's dynamically generated via RegisterZenClassesTask.java https://github.com/GTNewHorizons/CraftTweaker/blob/5044de32dd9fa11ebf98034dce68aab0062094dd/buildSrc/src/main/java/minetweaker/tasks/RegisterZenClassesTask.java which apparently didn't survive the migration - and so now files like https://github.com/GTNewHorizons/CraftTweaker/blob/master/src/main/java/minetweaker/ClassRegistry.java get created empty and it explodes.
I don't know how to migrate this to the new build script; custom code-generation code is tricky
Crash Report
[Uploading fml-client-latest-2.log…]()
Final Checklist