You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CraftTweaker example scripts mekanism_separating.zs and mekanism_reaction.zs are stopping CraftTweaker from reloading as they fail to compile.
For mekanism_separating.zs the erroring line is <recipetype:mekanism:separating>.addRecipe("separator/sulfur_trioxide", FluidStackIngredient.from(<tag:fluids:forge:sulfur_trioxide>, 2), <gas:mekanism:oxygen>, <gas:mekanism:sulfur_dioxide> * 2);, which corresponds to line 13. The issue seems to be the optional value not being properly casted to FloatingLong when not present...
For mekanism_reaction.zs the erroring lines are 44, 54, and 100. The same issue as above.
For both the error looks like this. This is taken from the craftTweaker.log file, and I cannot generate the debug classes as it fails to even compile.
[ERROR]: internal: class mekanism.common.integration.crafttweaker.recipe.manager.ElectrolysisRecipeManager#addRecipe:1:0: Cannot cast int to FloatingLong, even explicitly
I hope this helps! I'm thinking this is probably an issue due to how the @optional parameter is declared...
Steps to reproduce
Install Mekanism and CraftTweaker
Run /ct examples
Run /reload:
Minecraft version
1.19.2 (Latest)
Forge version
43.2.0
Mekanism version
10.3.5 (Latest)
Other relevant versions
No response
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
No response
The text was updated successfully, but these errors were encountered:
No idea why this randomly started happening as I had thought the examples worked fine back in 1.16 (at least towards the end)? Though this issue is related to ZenCodeLang/ZenCode#31
Issue description
The CraftTweaker example scripts
mekanism_separating.zs
andmekanism_reaction.zs
are stopping CraftTweaker from reloading as they fail to compile.For
mekanism_separating.zs
the erroring line is<recipetype:mekanism:separating>.addRecipe("separator/sulfur_trioxide", FluidStackIngredient.from(<tag:fluids:forge:sulfur_trioxide>, 2), <gas:mekanism:oxygen>, <gas:mekanism:sulfur_dioxide> * 2);
, which corresponds to line 13. The issue seems to be the optional value not being properly casted to FloatingLong when not present...For
mekanism_reaction.zs
the erroring lines are 44, 54, and 100. The same issue as above.For both the error looks like this. This is taken from the craftTweaker.log file, and I cannot generate the debug classes as it fails to even compile.
[ERROR]: internal: class mekanism.common.integration.crafttweaker.recipe.manager.ElectrolysisRecipeManager#addRecipe:1:0: Cannot cast int to FloatingLong, even explicitly
I hope this helps! I'm thinking this is probably an issue due to how the @optional parameter is declared...
Steps to reproduce
Minecraft version
1.19.2 (Latest)
Forge version
43.2.0
Mekanism version
10.3.5 (Latest)
Other relevant versions
No response
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
No response
The text was updated successfully, but these errors were encountered: