1.21, KubeJS recipe id bug
type: bug1.21
### Checked for existing issues
- [x] I have checked for existing issues, and have found none.
### Tested latest version
- [x] I have checked that this occurs on the latest version.
### GregTech CEu Version
1.21-8.0.0 SNAPSHOT ab9bc59
### Minecraft Version
1.21.1 NeoForge
### Recipe Viewer Installed
None
### Environment
Singleplayer
### Cross-Mod Interaction
Yes
### Other Installed Mods
KubeJS, Rhino
### Expected Behavior
Expected that the recipe which copied from [wiki](https://gregtechceu.github.io/GregTech-Modern/1.21/Modpacks/Recipes/Adding-and-Removing-Recipes/#adding-recipes) will be added.
### Actual Behavior
Error occurs:
[ERROR] ! server_scripts:cutter_recipes.js#44: Failed to create a 'gtceu:assembler' recipe from args [test]: Unable to set 'id: resource_location' to 'test' as 'resource_location'! - dev.latvian.mods.rhino.EvaluatorException: Cannot convert test to net.minecraft.resources.ResourceLocation | java.lang.String
### Steps to Reproduce
1) Try to add recipe with KJS
2) Erroe occurs
### Additional Information
I tried to add some new recipes, it didn't worked, I opened wiki, copied example recipe and it also didn't worked. So I assume it's a bug
KJS script:
[cutter_recipes.js](https://github.com/user-attachments/files/27841295/cutter_recipes.js)
KJS server log:
[server.log](https://github.com/user-attachments/files/27841310/server.log)
0 条评论