onEvent('recipes', e => {

    e.remove({ output: 'appliedenergistics2:logic_processor' })
    e.remove({ output: 'appliedenergistics2:calculation_processor' })
    e.remove({ output: 'appliedenergistics2:engineering_processor' })

    e.custom({
        type: 'lazierae2:etcher', // always needed, available ids in Recipe IDs section
        process_time: 100, // processing time in ticks as Integer
        energy_cost: 2000, // energy cost for the whole recipe in FE as Integer
        output: {
            item: 'appliedenergistics2:logic_processor', // output id as String
            amount: 1 // output amount as Integer
        },
        input: [
            {
                item: 'appliedenergistics2:printed_logic_processor' // input 1 as Ingredient
            },
            {
                tag: "forge:dusts/redstone" // input 2 as Ingredient
            },
            {
                item: 'appliedenergistics2:printed_silicon' // input 3 as Ingredient
            }
        ]
    });
    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'appliedenergistics2:calculation_processor', 
            amount: 1 
        },
        input: [
            {
                item: 'appliedenergistics2:printed_calculation_processor' 
            },
            {
                tag: "forge:dusts/redstone"
            },
            {
                item: 'appliedenergistics2:printed_silicon'
            }
        ]
    });
    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'appliedenergistics2:engineering_processor', 
            amount: 1 
        },
        input: [
            {
                item: 'appliedenergistics2:printed_engineering_processor'
            },
            {
                tag: "forge:dusts/redstone"
            },
            {
                item: 'appliedenergistics2:printed_silicon'
            }
        ]
    });
    e.custom({
        type: 'lazierae2:etcher',
        process_time: 200,
        energy_cost: 4000,
        output: {
            item: 'kubejs:fc', 
            count: 4 
        },
        input: [
            {
                item: 'appliedenergistics2:annihilation_core'
            },
            {
                item: 'appliedenergistics2:fluix_block'
            },
            {
                item: 'appliedenergistics2:formation_core'
            }
        ]
    });
    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'kubejs:fc', 
            count: 2 
        },
        input: [
            {
                item: 'appliedenergistics2:annihilation_core'
            },
            {
                item: 'appliedenergistics2:purified_fluix_crystal'
            },
            {
                item: 'appliedenergistics2:formation_core'
            }
        ]
    });
    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'appliedenergistics2:fluix_glass_cable', 
            count: 1 
        },
        input: [
            {
                item: 'appliedenergistics2:purified_fluix_crystal'
            },
            {
                item: 'appliedenergistics2:quartz_fiber'
            },
        ]
    });
    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'appliedenergistics2:fluix_covered_cable', 
            count: 2 
        },
        input: [
            {
                item: 'minecraft:white_wool'
            },
            {
                item: 'appliedenergistics2:fluix_glass_cable'
            },
            {
                item: 'minecraft:white_wool'
            }
        ]

    });
    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'appliedenergistics2:fluix_smart_cable', 
            count: 2 
        },
        input: [
            {
                item: 'minecraft:redstone'
            },
            {
                item: 'appliedenergistics2:fluix_covered_cable'
            },
            {
                item: 'minecraft:glowstone_dust'
            }
        ]

    });

    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'appliedenergistics2:fluix_covered_dense_cable', 
            count: 2 
        },
        input: [
            {
                item: 'appliedenergistics2:fluix_covered_cable'
            },
            {
                item: 'appliedenergistics2:fluix_covered_cable'
            },
            {
                item: 'appliedenergistics2:fluix_covered_cable'
            }
        ]

    });

    e.custom({
        type: 'lazierae2:etcher',
        process_time: 100,
        energy_cost: 2000,
        output: {
            item: 'appliedenergistics2:fluix_smart_dense_cable', 
            count: 2 
        },
        input: [
            {
                item: 'minecraft:redstone'
            },
            {
                item: 'appliedenergistics2:fluix_covered_dense_cable'
            },
            {
                item: 'minecraft:glowstone_dust'
            }
        ]

    });
})