#custom create:sequenced_assembly

19 messages · Page 1 of 1 (latest)

bright needle
#

idk why it's doesn't work. No errors when reload

sharp ermineBOT
#

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

severe minnowBOT
#

Paste version of test.js from @bright needle

short glacier
#

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 }
  })
}

bright needle
short glacier
#

thats definitely not the format in the mod

short glacier
severe minnowBOT
#

Please send your server.txt log file.
You can find it here: minecraft/logs/kubejs/server.txt

bright needle
severe minnowBOT
#

Paste version of server.txt from @bright needle

short glacier
#

you cannot use # with code written like that

bright needle
#

#?

short glacier
#
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

bright needle
#

{ "tag": input11 },
I put the tags in the recipe

short glacier
#

then delete the #

bright needle