Can't modify certain recipes with kubejs (1.19)
Abalieno opened this issue ยท 2 comments
Describe the Bug
I'm not sure if it's a problem in Create or KubeJS: KubeJS-Mods/KubeJS#531 (comment)
I had vaguely similar problems with Modern Industrialization, and the last update of the mod fixed those issues: KubeJS-Mods/KubeJS#544
As described:
I'm having issues in Create 1.19 even when a mod and type is specified. I've tried lots of combinations, none seem to work:
event.remove({id: "create:copper_sheet"})
event.replaceInput({mod: "create"}, "create:copper_sheet", "modern_industrialization:copper_plate")
event.replaceOutput({mod: "create"}, "create:copper_sheet", "modern_industrialization:copper_plate")
event.replaceOutput({id: "create:copper_ingot"}, "create:copper_sheet", "modern_industrialization:copper_plate")
event.replaceOutput({id: "create:pressing/copper_ingot"}, "create:copper_sheet", "modern_industrialization:copper_plate")
event.replaceOutput({type: "create:pressing"}, "create:copper_sheet", "modern_industrialization:copper_plate")
Reproduction Steps
Just trying to edit recipes.
Expected Result
Recipes showing correctly.
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
W10
Mod Version
0.5.0g
Minecraft Version
1.19.2
Other Mods
No response
Additional Context
No response
replaceInput / replaceOutput needs explicit integration in 1.19 to stop us from having to guess inputs / outputs from recipe JSONs directly; this will likely be "fixed" when KubeJS Create comes out, which due to more major internal refactors coming up won't be for another couple of weeks.
@TropheusJ Feel free to close this issue, since it doesn't apply to Create Fabric