#KubeJS Recipe Event Listener Causes Rope Arrow to be Uncraftable

34 messages · Page 1 of 1 (latest)

fresh fern
#

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?

carmine cargo
#

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

fresh fern
#

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?

carmine cargo
#

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

fresh fern
#

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!

carmine cargo
#

Yea it only replaces recipe manager once that call is made

fresh fern
#

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

carmine cargo
#

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

fresh fern
carmine cargo
#

you mean its another mod messing with it?

#

or a recipe?

fresh fern
#

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

carmine cargo
#

yeah..

feral quest
#

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

carmine cargo
#

Does it work without kubejs?

feral quest
#

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

carmine cargo
#

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

feral quest
#

The irony behind all of it is that JEI still sees it

feral quest