KubeJS

KubeJS

61M Downloads

Error with Crossroads reagent recipes if something is done with ServerEvents.recipes' event

9thCore opened this issue ยท 0 comments

commented

Minecraft Version

1.20.1

KubeJS Version

2001.6.5-build.14

Rhino Version

2001.2.2-build.18

Architectury Version

9.2.14

Forge/Fabric Version

47.3.1

Describe your issue

While running both KubeJS and Crossroads, random Crossroads reagent recipes error, causing them to not work (reagent can't be added into the recipient using the item).
Additionally, on reload, different recipes may get affected and it's random in number: could be none, could be just one, could be four. Log features multiple reload attempts to show the variance both in exact recipes and number.

Simplest script that causes this issue: ServerEvents.recipes(e => { e.remove("minecraft:iron_pickaxe"); });

Example of such error: [13:58:41] [WARN] Error parsing recipe crossroads:reagents/cavorite[crossroads:reagents]: {"type":"crossroads:reagents","id":"cavorite","melting":1000,"boiling":1000,"item":"crossroads:gems/cavorite","color":"FFFF00"}: null

Mods: Architectury, Crossroads, Essentials, KubeJS, Rhino

Crash report/logs

https://hastebin.com/share/olehomamoq.bash