#Compacting recipe not working
44 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Never say 'it crashed', 'it errored', or 'it didn't work' without providing the full crash report, log, and scripts!
This is the script
Paste version of recipe.js from @candid idol
It isn't crashing, so I don't have a crash report
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.
Paste version of server.log from @candid idol
"fluid" is not defined
Change fluid.water to Fluid.of('water')
Also, I'm pretty sure this recipe does not take 4 arguments
it is still saying that fluid is not defined
You did not change fluid.water to Fluid.of('water') then
Paste version of server.log from @candid idol
Because this recipe does not take 4 arguments
How do I add more than two inputs for a compacting recipe?
With an array, which your Fluid is already in, but not with anything else
How do I do that or where can I find how to do that?
Is your recipe supposed to be:
Water, 4 Bricks > Light Gray Powder, 8 Bricks
It is supposed to be:
Water(250mb), Light Gray Powder, 8 Brick => 4 Bricks (blocks)
event.recipes.create.compacting('4x minecraft:bricks', [Fluid.of('water', 250), 'minecraft:light_gray_concreate_powder', '8x minecraft:brick'])
There is no more errors, but the recipe isn't showing up in JEI
Did you run /reload?
yes
Send the log again
Paste version of server.log from @candid idol
Did you put in my code with no changes or did you put it in then modify it slightly?
just copied and pasted, no changes
It is trying to parse an empty fluid
I just deleted it and tried again, but same result
It's parsing the water fine but it's trying to parse another fluid which is coming up empty
Change that Fluid.of to Fluid.water(250)
Same problem. Posting the log.
Paste version of server.log from @candid idol
Ah man, idk whats happening here. I see no reason why it wants to add an empty fluid, that seems to be what it's stuck on
I figured it out, kinda.
It is thinking that the light gray concrete powder is a fluid with an empty value.
I moved it after the bricks in the recipe and now it is working
Here is the working recipe:
event.recipes.create.compacting('4x minecraft:bricks', [Fluid.water(250), '8x minecraft:brick', 'minecraft:light_gray_concrete_powder'])