I am unsure what the cause could be, but I encountered this bug while developing my modpack. After some digging, I found that a fresh instance of Supplementaries and KubeJS is the issue. Initially there is no conflict, but just having ServerEvents.recipes(event => {}) in the KubeJS server_scripts and reloading causes rope arrows to become uncraftable. Any ideas what could be happening here?
#KubeJS Recipe Event Listener Causes Rope Arrow to be Uncraftable
34 messages · Page 1 of 1 (latest)
I know kubjs recplsces the recipe manager in a very incompatible way, requiring mods that rely on it to be registered as a kube addon
Still that recipe is just a simple special recipe, data driven too
Feels very much a kube bug
Definetely very weird. I tried most versions of KubeJS for 1.20.1 and the problem always persists. I will post this also on KubeJS communities. Also didnt know that KubeJS could be incompatible with mods; is it the best option out there for just replacing item recipes or is there one that is more friendly with other mods?
Well it does a bunch
To allow such customizaiton
So it's expected to have conflicts. The recioe stuff imo could be better. Replacing the entire recipe managed feels unnecessary. I had to register sawmill as a kube addon for example because it broke its recipe mixing. Thing is that recipe for the arrow there does no such thing so it's definitely a kube issue
I found it really weird how an empty callback causes it too. I'm posting this as a bug on KubeJS right now and plan to also try out other recipe modifying tools to see if they will also have the same issue. Thank you for the help!
Yea it only replaces recipe manager once that call is made
Oh I see that makes sense. I thought it woukd do thst when the mod is loaded. Thank you for the info that makes sense now why the issue cropped up when it did
Would surely have given us less headaches
The stuff it does is incompatible at core so would make more sense to apply it regardless so incompatibilities can be more easily figured out instead of just showing up when adding that line
I litteraly needed to binary search through my entire mod list to figure out what couldve possibly went wrong. Didnt even consider the problem happened after I changed the recipe of something completely different lol
are you sure?
you mean its another mod messing with it?
or a recipe?
oh no sry I meant I didnt even know it couldve been kubejs since ive only modified unrelated mods' recipes in the server events, so you're right that it would def be nice if their recipe manager could be applied automatically so I couldve noticed it the moment I added kubejs to the modpack
yeah..
So this explains why I can't craft rope arrows still a whole year later with KubeJS installed
I'm going to make a KubeJS based work around for this issue.... I'll be sure to post it here when done
So I've changed these recently , maybe it's a bug
Does it work without kubejs?
Haven't checked, I'll do that now
Definitely a KubeJS compat issue
works without any of KubeJS installed
wonder why.... I mean, you made your own recipe praser type
which should've keep KubeJS from wanting to meddle with it
Adding special recipes is not something special either, vanilla has many too like banners
Report there, this should be top priority for them, like any other issue that fucks up other mods stuff
I've done so, but my current hypothisis is that it has something to do with how you generate your own "recipe json" files from whatever this is
{
"type": "suppsquared:sack_dye",
"conditions": [
{
"type": "supplementaries:flag",
"flag": "sack"
}
]
}
{
"type": "supplementaries:rope_arrow_add",
"conditions": [
{
"type": "supplementaries:flag",
"flag": "rope_arrow"
}
]
}
The irony behind all of it is that JEI still sees it
This appears to be the issue:
https://github.com/KubeJS-Mods/KubeJS/issues/797