KubeJS Create

KubeJS Create

26M Downloads

Sequenced Assembly Issue? (1.20.1)

kienerxyzzy opened this issue ยท 3 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");

})