#Spouting Recipes not working - KubeJS Create

55 messages · Page 1 of 1 (latest)

regal bear
#

Hi, I'm trying to add custom spouting (and mixing recipes) for compatibility between multiple mods in a modpack I've made.
I have no idea if I coded it wrong or what, but help would be greatly appreciated.

fair patioBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

regal bear
mossy drumBOT
#

Paste version of gourmet.js, soder.js from @regal bear

#

You can find your KubeJS server log in /minecraft/logs/kubejs/server.log.
If you are on 1.18 or below it will be called server.txt.
Please send it if asked, as it contains helpful information.

dawn python
#

Same with the second script

regal bear
#

thanks for the help!

regal bear
mossy drumBOT
#

Paste version of gourmet.js, soder.js from @regal bear

dawn python
#

Uhm

mossy drumBOT
dawn python
#

If you dont know if it works, then try it

regal bear
#

I have, but it still doesn't

dawn python
#

I still haven't gotten any logs 🫠

mossy drumBOT
#

You can find your KubeJS server log in /minecraft/logs/kubejs/server.log.
If you are on 1.18 or below it will be called server.txt.
Please send it if asked, as it contains helpful information.

dawn python
regal bear
mossy drumBOT
#

Paste version of server.log from @regal bear

dawn python
#
Fluid.of('need_smp_create_mods:icedtea'), 250
#

That amount is outside the Fluid.of

regal bear
#

i had just noticed that

#

i think i fixed all of it though, if not i think i can figure it out on my own at this point

#

thanks!

fair patioBOT
dawn python
#

I think I fixed it, but it's so messy I can't tell

#

No I didn't...

mossy drumBOT
#

Paste version of JS_File.js from @dawn python

dawn python
#

@regal bear

regal bear
#

I'll try it

#

it made filling work but the rest no

#

i'll try and tweak it and make the rest work

#

aand i made it worse

dawn python
#

Post your log again

regal bear
mossy drumBOT
#

Paste version of server.log from @regal bear

dawn python
#
[ERROR] ! JS_File.js#13: Failed to create recipe for type 'create:emptying': Unable to cast 'results:{output_fluid|output_item}[]' value '[Fluid.of('need_smp_create_mods:orangesoda, 250'), minecraft:bottle]]' to 'array'!
#

You added another bracket somewhere

regal bear
#

i think i fixed it

#

yes i did

dawn python
#

Noice

regal bear
#

it doesn't give back the bottle though

dawn python
#

Well yeah... add the bottle as an output

#

Preferably in the array, otherwise it won't work

maiden zenith
mossy drumBOT
maiden zenith
sour drift
#

when you paste them in

maiden zenith
#

So you add the files themselves and it shows them like that?

sour drift
#

if you look above the message you replied to from the bot, its the 2 log files

maiden zenith
#

Okay, got it! Thanks!

#

😄