Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
9thCore opened this issue Jun 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@9thCore
Copy link

9thCore commented Jun 28, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant