#Having trouble with sequenced assembly

19 messages · Page 1 of 1 (latest)

cursive thunder
#

here's my script. I assume the problem is in the pressing, but idk what else to do about it

event.recipes.create.sequenced_assembly([
    Item.of('minecraft:crafting_table')
], 'minecraft:oak_slab', [
    event.recipes.createDeploying('create:incomplete_precision_mechanism', ['create:incomplete_precision_mechanism', 'harderworkbench:nail']),
    event.recipes.createDeploying('create:incomplete_precision_mechanism', ['create:incomplete_precision_mechanism', 'harderworkbench:nail']),
    event.recipes.createDeploying('create:incomplete_precision_mechanism', ['create:incomplete_precision_mechanism', 'minecraft:oak_slab']),
    event.recipes.create.pressing
]).transitionalItem('create:incomplete_precision_mechanism')
dreamy rapidsBOT
#

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

thorn roost
#

You don’t have to assume the problem, check the logs and it will tell you exactly

past oysterBOT
#

Please send your KubeJS server log. It can be found at /minecraft/logs/kubejs/server.log.
If you are on 1.18 or 1.16 it will be called server.txt.
Please send the file directly, without links or snippets.

cursive thunder
past oysterBOT
#

Paste version of server.log from @cursive thunder

thorn roost
#
Error loading KubeJS script: server_scripts:server.js': missing ] after element list
#

line 7 in your snippet

#

also 800+ lines... break them up into some organized files lol

cursive thunder
thorn roost
#

your snippet

#

not your log

#
event.recipes.create.pressing
#

why is this there on line 7

cursive thunder
#

in the sequenced assembly, I'm trying to make the final step be a mechanical press

#

but Idk how to do that

drifting relic
#

should be event.recipes.createPressing("create:incomplete_precision_mechanism", "create:incomplete_precision_mechanism") or something like this

cursive thunder
#

will try it and report back if it works

#

Thank you oh god it works