events.listen('recipes', event => {
     
    event.shaped(item.of('rftoolsbase:machine_frame', 1), [
        'ILI',
        'NGN',
        'ILI'
    ], {
        L: '#forge:gems/lapis',
        N: '#forge:nuggets/gold',
        I: '#forge:ingots/steel',
        G: '#forge:gears/electrum'
    })

    event.shaped(item.of('rftoolsbuilder:builder', 1), [
        'BEB',
        'GFG',
        'BCB'
    ], {
        B: 'minecraft:bricks',
        E: 'minecraft:ender_pearl',
        F: 'rftoolsbase:machine_frame',
        G: '#forge:gears/diamond',
        C: 'mekanism:elite_control_circuit'
    })

    event.shaped(item.of('rftoolsbuilder:shape_card_quarry', 1), [
        'RGR',
        'ICI',
        'RMR'
    ], {
        I: '#forge:gears/iron',
        G: '#forge:gears/gold',
        C: 'rftoolsbuilder:shape_card_def',
        M: 'mininggadgets:mininggadget',
        R: '#forge:dusts/redstone'
    })

    event.shaped(item.of('rftoolsutility:charged_porter', 1), [
        ' A ',
        'ABA',
        'CAC'
    ], {
        A: 'minecraft:ender_pearl',
        B: 'mekanism:teleportation_core',
        C: '#forge:ingots/iron'
    })

    event.shaped(('rftoolsutility:environmental_controller'), [
        'CUC',
        'BFB',
        'CTC'
    ], {
        C: 'fluxnetworks:flux_core',
        T: 'mekanism:teleportation_core',
        B: '#forge:storage_blocks/electrum',
        F: 'rftoolsbase:machine_frame',
        U: 'mekanism:ultimate_control_circuit'
    })

    var colors = ['blue', 'red', 'green', 'yellow']

    for (var i in colors) {
        event.shaped(item.of('rftoolsbuilder:'+ colors[i] + '_shield_template_block', 8), [
            'BBB',
            'DOD',
            'BBB'
        ], {
            B: 'immersiveengineering:steel_scaffolding_standard',
            O: '#forge:obsidian',
            D: '#forge:dyes/'+ colors[i]
        })
    }
})