I have been trying to work this script for 4 days now and keep getting 56 errors for all the jars about fluid output. I have looked at other examples of 1.21.1 scripts for the jars, but couldn't find where i made my mistake. I have also ran this through Gemini and still couldnt figure it out i have attached the Script, Kubejs log, and latest log for the modpack. i know there are other things i need to fix with sluicing and recipes. if anyone could assist it would be greatly appreciated.
#FTB Stuff and Things Jars script errors
46 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
You didn't attack the files (log, script)
wow. that is my bad
Paste version of jars.js, server.log, latest.log from @lone ingot
you must omit the key and not use an empty array
some mods support this but this one doesn't
so do:
let json = {
type: ...,
temperature: ...,
time: ...
}
if(recipe.outputFluids != undefined){
json.output_fluids = ...
}
...
event.custom(json)
would i be changing all the event custom the same way? or just the output?
i made some changes. not aware if i did it right, but its now down to 29 errors.
Paste version of jars.js, server.log from @lone ingot
i have gotten it down to one error for jars, but still cant figure out the rhino issue.
Paste version of jars.js, server.log from @lone ingot
I am now stuck at 8 errors if anyone could assist with issue it would be greatly appreciated.
Paste version of jars.js, server.log, latest.log from @lone ingot
i shrunk the jars file down just to get it to work. but i am still getting an output fluid of 1mb of lava. please assist with this fix
Paste version of jars.js from @lone ingot
so whats wrong ? if u want full bucket just change mb amount from 1 to 1000
I am trying to get it to not give me any fluids
If I change the amount to 0 it fails for fluid stack
so u want to get item only?
that is correct. input fluid and item, and only receive item back.
so... whats the problem? just remove output fluid "value"
when i remove the value i get an error
if i completely remove the line about output fluids same error
Paste version of server.log from @lone ingot
post your current script
Paste version of jars.js from @lone ingot
@lone ingot this is exactle the same script as last one
Paste version of jars.js from @lone ingot

no
no no no
this is not correct way
here
ServerEvents.recipes(event => {
event.custom({
type: "ftbstuff:jar",
temperature: "normal",
time: 200,
stage: "none",
can_repeat: true,
input_items: [
{ item: "minecraft:glowstone", count: 8 }
],
input_fluids: [
{ fluid: "minecraft:lava", amount: 8000 }
],
output_items: [
{ id: "minecraft:end_stone", count: 8 }
]
}).id("ftbstuff:jars/test_glowstone")
})
Paste version of server.log, jars.js from @lone ingot
fluid stack fail still
Paste version of jars.js, server.log from @lone ingot
wtf