#custom create:sequenced_assembly
19 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of test.js from @bright needle
some formatting wouldnt hurt to that poor file >->
ServerEvents.recipes(e => {
multicraft(e, 'minecraft:redstone', 'minecraft:saddle', 'create:incomplete_track', '#forge:ingots/iron', 'minecraft:iron_ingot', '#forge:ingots/gold', 'minecraft:gold_ingot')
})
let multicraft = (e, starter, resultat, incomplete, input11, input21, input12, input22) => {
e.custom({
"type": "create:sequenced_assembly",
"ingredient": { "item": starter },
"loops": 1,
"results": [{ "item": resultat }],
"sequence": [
{
"type": "create:deploying",
"ingredients":
[
{ "item": incomplete },
{ "tag": input11 },
{ "item": input21 }
],
"results": [{ "item": incomplete }]
},
{
"type": "create:deploying",
"ingredients":
[
{ "item": incomplete },
{ "tag": input12 },
{ "item": input22 }
],
"results": [{ "item": incomplete }]
},
{
"type": "create:pressing",
"ingredients": [{ "item": incomplete }],
"results": [{ "item": incomplete }]
}
],
"transitionalItem": { "item": incomplete }
})
}
I left the structure as it was in json format from the mod because it still didn’t work out.
it still didn’t work out.
thats definitely not the format in the mod
wat
Please send your server.txt log file.
You can find it here: minecraft/logs/kubejs/server.txt
Paste version of server.txt from @bright needle
you cannot use # with code written like that
#?
multicraft(e, 'minecraft:redstone', 'minecraft:saddle', 'create:incomplete_track', '#forge:ingots/iron', 'minecraft:iron_ingot', '#forge:ingots/gold', 'minecraft:gold_ingot')
})
you didnt make it be able to handle tags, for that you need to write it differently
{ "tag": input11 },
I put the tags in the recipe
then delete the #
Here I am stupid. Thanks a lot