Brewin' And Chewin'

Brewin' And Chewin'

6M Downloads

KubeJS entirely fails whenever it attempts to modify any brewin and chewin recipe types while a server

flynnvali opened this issue ยท 6 comments

commented

Seems to work fine when in singleplayer, but when loaded in a server environment the entire script fails, including things not modifying B&C recipe types (by B&C recipe types I mean pouring, aging, etc)

Here's the full debug log
debug.log

And here's the script I used to test it (goes into kubejs/server_scripts)
brewinchewinservertest.zip

mods installed:
Architectury-9.2.14
BrewinAndChewin-1.20.1-3.0.4
FarmersDelight-1.20.1-1.2.6
kubejs-forge-2001.6.5-build.16
rhino-forge-2001.2.3-build.6

commented

huh, this should definitely not be happening. I'll look into a fix soonish.

commented

Not actually fixed. I think KJS seems to run before this. Additionally, modifying the result with KJS here will do nothing. You'll need to modify the pouring recipe instead, or change the fluid.

commented

Nvm, I don't understand too much KubeJS stuff, so apologies there.

I'm going to be returning an empty item at KubeJS time for fermenting recipes based on fluids, which will ignore the error, but will still modify the pouring recipe.

commented

okay, update on this. KubeJS might not be able to be used in this case, simply because of field names not being properly supported. It's a weird and primitive setup.

We will explicitly not be making a KJS plugin due to extra maintenance work. Please do not pressure me into it if anybody was planning on it.

commented

I'm guessing you just made it so the mod tells KubeJS "no" whenever it tries to touch any of the recipes?

commented

I'm guessing you just made it so the mod tells KubeJS "no" whenever it tries to touch any of the recipes?

Kinda? The output item isn't actually used for the fermenting recipes, so probably?