KubeJS Create

KubeJS Create

27M Downloads

Sequenced Assembly Issue? (1.20.1)

kienerxyzzy opened this issue ยท 7 comments

commented

is it just my spaghetti code or is the mod bugging out
it is not adding the sequenced assembly recipes (how)

ServerEvents.recipes(e => {
	e.recipes.create.sequenced_assembly([
		'mekanism:basic_control_circuit'
	], 'mekanism:hdpe_sheet', [
		e.recipes.createDeploying('kubejs:inc_basic_circuit', ['kubejs:inc_basic_circuit', 'minecraft:slimeball']),			e.recipes.createDeploying('kubejs:inc_basic_circuit', ['kubejs:inc_basic_circuit', 'minecraft:redstone_dust']),
		e.recipes.createDeploying('kubejs:inc_basic_circuit', ['kubejs:inc_basic_circuit', 'minecraft:redstone_torch'])
	]).transitionalItem('kubejs:inc_basic_circuit').loops(5);

	e.recipes.create.sequenced_assembly(
		['mekanism:advanced_control_circuit'],'mekanism:hdpe_sheet',
		[e.recipes.createDeploying('kubejs:inc_advanced_circuit',['kubejs:inc_advanced_circuit','mekanism:basic_control_circuit']),
                e.recipes.createDeploying('kubejs:inc_advanced_circuit',['kubejs:inc_advanced_circuit','mekanism:infused_alloy']),
                e.recipes.createDeploying('kubejs:inc_advanced_circuit',['kubejs:inc_advanced_circuit','minecraft:redstone_dust']),
                e.recipes.createDeploying('kubejs:inc_advanced_circuit',['kubejs:inc_advanced_circuit','create:electron_tube']),
                e.recipes.createDeploying('kubejs:inc_advanced_circuit',['kubejs:inc_advanced_circuit','#forge:wires/copper']),
                ]
	).transitionalItem('kubejs:inc_advanced_circuit');

})
commented

both of the recipes aren't added

commented

Please fix it, I'm creating a modpack

commented

I swear I have added the transitional items
Proof:

StartupEvents.registry('item', e => {
  // The texture for this item has to be placed in kubejs/assets/kubejs/textures/item/test_item.png
  e.create('inc_basic_circuit', 'create:sequenced_assembly').displayName("Incomplete Basic Circuit");
  e.create('inc_advanced_circuit', 'create:sequenced_assembly').displayName("Incomplete Advanced Circuit");
  e.create('inc_elite_circuit', 'create:sequenced_assembly').displayName("Incomplete Elite Circuit");
  e.create('inc_ultimate_circuit', 'create:sequenced_assembly').displayName("Incomplete Ultimate Circuit");
  e.create('pcb_press', 'create:sequenced_assembly').displayName("PCB Press");
  e.create('pcb_part', 'create:sequenced_assembly').displayName("PCB Part");

})
commented

I've the same issue here, I tried with a custom recipe insteed but it still not work.

this my recipe test

e.recipes.create.sequenced_assembly([
        'create:ochrum'
    ], 'minecraft:cobblestone', [
        e.recipes.create.mixing('kubejs:fusion_orchum', ['minecraft:cobblestone', '2x minecraft:gold_ingot']).superheated(),
        e.recipes.create.splashing('create:ochrum', 'kubejs:fusion_orchum')
    ])
        .transitionalItem('kubejs:fusion_orchum')
        .loops(1)

    e.custom({
        type: "create:sequenced_assembly",
        ingredient: [
            {
                item: "minecraft:cobblestone"
            }
        ],
        results: [
            {
                item: "create:ochrum"
            }
        ],
        sequence: [
            {
                type: "create:mixing",
                ingredients: [
                    {
                        item: "minecraft:cobblestone"
                    },
                    {
                        item: "minecraft:gold_ingot",
                        count: 2
                    }
                ],
                results: {
                    item: "kubejs:fusion_orchum"
                },
                temperature: "superheated"
            },
            {
                type: "create:splashing",
                ingredients: [
                    {
                        item: "kubejs:fusion_orchum"
                    }
                ],
                results: {
                    item: "create:ochrum"
                }
            }
        ],
        transitionalItem: Item.of("kubejs:fusion_orchum"),
        loops: 1
    })

And the kjs server logs send me this for both of them Error parsing recipe

create:kjs/4m9a3flxjqgwk5fhc22udyvv2[create:sequenced_assembly]: {"type":"create:sequenced_assembly","ingredient":{"item":"minecraft:cobblestone"},"results":[{"item":"create:ochrum","count":1}],"sequence":[{"type":"create:mixing","ingredients":[{"item":"minecraft:cobblestone"},{"item":"minecraft:gold_ingot"},{"item":"minecraft:gold_ingot"}],"results":[{"item":"kubejs:fusion_orchum","count":1}],"temperature":"superheated"},{"type":"create:splashing","ingredients":[{"item":"kubejs:fusion_orchum"}],"results":[{"item":"create:ochrum","count":1}]}],"transitionalItem":{"item":"kubejs:fusion_orchum","count":1},"loops":1}: Not a supported recipe type

Maybe a bug on the Create mod directly :/

commented

Definetly not Create, I tried adding the recipe via event.custom() and it worked, definetly a mod problem. For now just use datapack-syntax recipes with event.custom().

commented

Also I don't know if mixing and bulk washing works with Seq. Assembly. I've only tried with deploying and pressing.

commented

I've the same issue here, I tried with a custom recipe insteed but it still not work.

this my recipe test

e.recipes.create.sequenced_assembly([
        'create:ochrum'
    ], 'minecraft:cobblestone', [
        e.recipes.create.mixing('kubejs:fusion_orchum', ['minecraft:cobblestone', '2x minecraft:gold_ingot']).superheated(),
        e.recipes.create.splashing('create:ochrum', 'kubejs:fusion_orchum')
    ])
        .transitionalItem('kubejs:fusion_orchum')
        .loops(1)

    e.custom({
        type: "create:sequenced_assembly",
        ingredient: [
            {
                item: "minecraft:cobblestone"
            }
        ],
        results: [
            {
                item: "create:ochrum"
            }
        ],
        sequence: [
            {
                type: "create:mixing",
                ingredients: [
                    {
                        item: "minecraft:cobblestone"
                    },
                    {
                        item: "minecraft:gold_ingot",
                        count: 2
                    }
                ],
                results: {
                    item: "kubejs:fusion_orchum"
                },
                temperature: "superheated"
            },
            {
                type: "create:splashing",
                ingredients: [
                    {
                        item: "kubejs:fusion_orchum"
                    }
                ],
                results: {
                    item: "create:ochrum"
                }
            }
        ],
        transitionalItem: Item.of("kubejs:fusion_orchum"),
        loops: 1
    })

And the kjs server logs send me this for both of them Error parsing recipe

create:kjs/4m9a3flxjqgwk5fhc22udyvv2[create:sequenced_assembly]: {"type":"create:sequenced_assembly","ingredient":{"item":"minecraft:cobblestone"},"results":[{"item":"create:ochrum","count":1}],"sequence":[{"type":"create:mixing","ingredients":[{"item":"minecraft:cobblestone"},{"item":"minecraft:gold_ingot"},{"item":"minecraft:gold_ingot"}],"results":[{"item":"kubejs:fusion_orchum","count":1}],"temperature":"superheated"},{"type":"create:splashing","ingredients":[{"item":"kubejs:fusion_orchum"}],"results":[{"item":"create:ochrum","count":1}]}],"transitionalItem":{"item":"kubejs:fusion_orchum","count":1},"loops":1}: Not a supported recipe type

Maybe a bug on the Create mod directly :/

After looking at your log, no, Create does not support your recipe types. I'd recommend sticking to deploying/pressing/filling as they are CONFIRMED to work. idk if draining works