Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequenced Assembly Issue? (1.20.1) #49

Open
kienerxyzzy opened this issue Sep 3, 2024 · 7 comments
Open

Sequenced Assembly Issue? (1.20.1) #49

kienerxyzzy opened this issue Sep 3, 2024 · 7 comments

Comments

@kienerxyzzy
Copy link

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');

})
@kienerxyzzy
Copy link
Author

both of the recipes aren't added

@kienerxyzzy
Copy link
Author

Please fix it, I'm creating a modpack

@kienerxyzzy
Copy link
Author

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");

})

@Dragonir44
Copy link

Dragonir44 commented Nov 23, 2024

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 :/

@kienerxyzzy
Copy link
Author

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().

@kienerxyzzy
Copy link
Author

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

@kienerxyzzy
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants