onEvent('recipes', event =>{
    //draconium sheet
    event.recipes.createPressing(['kubejs:draconium_sheet'],
    'draconicevolution:draconium_ingot')

    //awakened sheet
    event.recipes.createPressing(['kubejs:awakened_draconium_sheet'],
    'draconicevolution:awakened_draconium_ingot')

    //energy controller
    event.recipes.createCompacting('draconicevolution:wyvern_energy_core', 
    ['4x minecraft:redstone_block',
    '4x kubejs:draconium_sheet',
    'draconicevolution:draconium_core'])
    .superheated()

    //draconium ingot crafting
    event.recipes.createMixing('draconicevolution:draconium_dust', 
    ['8x kubejs:draconium_ore_piece'])
    .superheated()

    //compressed draconium ingot
    event.recipes.createCompacting('kubejs:compressed_draconium_ingot', 
    ['3x draconicevolution:draconium_ingot'])
    .heated()
    
    //draconium core
    event.recipes.createSequencedAssembly([
        Item.of('draconicevolution:draconium_core').withChance(32.0),
        Item.of('kubejs:draconium_sheet').withChance(2.0),
        '5x draconicevolution:draconium_nugget'
      ], 'kubejs:draconium_sheet', [
        event.recipes.createDeploying('kubejs:incomplete_core', ['kubejs:incomplete_core', 'minecraft:diamond']),
        event.recipes.createDeploying('kubejs:incomplete_core', ['kubejs:incomplete_core', 'minecraft:gold_ingot']),
      
      ]).transitionalItem('kubejs:incomplete_core').loops(6)
    //wyvern core 
    event.recipes.createSequencedAssembly([
        Item.of('draconicevolution:wyvern_core').withChance(32.0),
        Item.of('minecraft:nether_star').withChance(2.0),
        '5x silentgear:nether_star_fragment'
      ], 'minecraft:nether_star', [
        event.recipes.createDeploying('kubejs:incomplete_wyvern_core', ['kubejs:incomplete_wyvern_core', 'draconicevolution:draconium_core']),
        event.recipes.createDeploying('kubejs:incomplete_wyvern_core', ['kubejs:incomplete_wyvern_core', 'kubejs:draconium_sheet']),
      
      ]).transitionalItem('kubejs:incomplete_wyvern_core').loops(4)

    //awakened core 
    event.recipes.createSequencedAssembly([
        Item.of('draconicevolution:awakened_core').withChance(32.0),
        Item.of('kubejs:awakened_draconium_sheet').withChance(2.0),
      ], 'kubejs:awakened_draconium_sheet', [
        event.recipes.createDeploying('kubejs:incomplete_awakened_core', ['kubejs:incomplete_awakened_core', 'draconicevolution:wyvern_core']),
        event.recipes.createDeploying('kubejs:incomplete_awakened_core', ['kubejs:incomplete_awakened_core', '#iafgear:dragon_scale']),
      
      ]).transitionalItem('kubejs:incomplete_wyvern_core').loops(2)


      //Tools
      //wyvern shovel
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_shovel', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: /iceandfire:dragonsteel_.*_shovel/,
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })

      //wyvern
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_hoe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: /iceandfire:dragonsteel_.*_hoe/,
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })

      //wyvern pickaxe
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_pickaxe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: /iceandfire:dragonsteel_.*_pickaxe/,
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })

      //wyvern axe
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_axe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: /iceandfire:dragonsteel_.*_axe/,
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })

      //wyvernpickaxe
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_pickaxe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: /iceandfire:dragonsteel_.*_pickaxe/,
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })

      //wyvern bow
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_bow', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'rats:ratlantis_bow',
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })


      //wyvern chestpiece
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_chestpiece', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'create_stuff_additions:encased_jet_chestplate',
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })


      //wyvern sword
      event.recipes.create.mechanical_crafting('draconicevolution:wyvern_sword', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: /iceandfire:dragonsteel_.*_sword/,
        B: 'draconicevolution:wyvern_energy_core',
        I: 'kubejs:draconium_sheet',
        N: 'draconicevolution:wyvern_core'
    })

    //Modules
    // module core
    event.shaped('draconicevolution:module_core', [
        'DCD',
        'ABA',
        'DCD'
    ],{
        A: 'kubejs:draconium_sheet',
        B: 'rats:rat_upgrade_basic',
        C: 'minecraft:redstone',
        D: 'minecraft:iron_ingot'
    })

    //energy module 
    event.shaped('draconicevolution:draconium_energy_module', [
        'DCD',
        'ABA',
        'DCD'
    ],{
        A: 'kubejs:draconium_sheet',
        B: 'rats:rat_upgrade_basic',
        C: 'minecraft:redstone',
        D: 'minecraft:iron_ingot'
    })

    //dislocator
    event.shaped('draconicevolution:advanced_dislocator', [
        'DCD',
        'ABA',
        'DCD'
    ],{
        A: 'kubejs:draconium_sheet',
        B: 'draconicevolution:dislocator',
        C: 'minecraft:ender_eye',
        D: 'draconicevolution:wyvern_core'
    })


    //shield module
    event.shaped('draconicevolution:wyvern_shield_control_module', [
        'DCD',
        'ABA',
        'DED'
    ],{
        A: 'draconicevolution:wyvern_core',
        B: 'draconicevolution:module_core',
        C: 'draconicevolution:dragon_heart',
        D: 'minecraft:diamond',
        E: 'rats:rat_upgrade_god'
    })

    //shield module
    event.shaped('draconicevolution:draconium_auto_feed_module', [
      'DCD',
      'ABA',
      'DED'
  ],{
      A: 'rats:confit_byaldi',
      B: 'draconicevolution:module_core',
      C: 'minecraft:golden_apple',
      D: 'minecraft:iron_ingot',
      E: 'draconicevolution:draconium_core'
  })

    //wyvern capacitor
    event.shaped('draconicevolution:wyvern_capacitor', [
        'DCD',
        'ABA',
        'DCD'
    ],{
        A: 'draconicevolution:wyvern_core',
        B: 'draconicevolution:wyvern_energy_core',
        C: 'kubejs:draconium_sheet',
        D: 'createaddition:capacitor',
    })

    //draconic capacitor
    event.shaped('draconicevolution:draconic_capacitor', [
      'DCD',
      'ABA',
      'DCD'
  ],{
      A: 'draconicevolution:wyvern_core',
      B: 'draconicevolution:draconic_energy_core',
      C: 'kubejs:awakened_draconium_sheet',
      D: 'draconicevolution:wyvern_capacitor',
  })

    //draconium drill
    event.shaped('kubejs:drill_3.0', [
      ' C ',
      'ABA',
      ' A '
  ],{
      A: 'kubejs:draconium_sheet',
      B: 'immersiveengineering:storage_steel',
      C: 'create:shaft'
      
  })

      //Tools
      //draconic shovel
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_shovel', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_shovel',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })

      //draconic hoe
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_hoe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_hoe',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })

      //draconic pickaxe
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_pickaxe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_pickaxe',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })

      //draconic axe
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_axe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_axe',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })

      //draconic pickaxe
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_pickaxe', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_pickaxe',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })

      //draconic bow
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_bow', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_bow',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })


      //draconic chestpiece
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_chestpiece', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_chestpiece',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })


      //draconic sword
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_sword', [
        ' B ',
        'IAI',
        ' N ' 
    ],{
        A: 'draconicevolution:wyvern_sword',
        B: 'draconicevolution:draconic_energy_core',
        I: 'kubejs:awakened_draconium_sheet',
        N: 'draconicevolution:awakened_core'
    })

      //draconic staff
      event.recipes.create.mechanical_crafting('draconicevolution:draconic_staff', [
        ' B ',
        'IAC',
        ' N ' 
    ],{
        A: 'draconicevolution:awakened_core',
        B: 'draconicevolution:draconic_shovel',
        I: 'draconicevolution:draconic_sword',
        C: 'draconicevolution:draconic_axe',
        N: 'draconicevolution:draconic_pickaxe'
    })

    //simple storage
    event.recipes.create.mechanical_crafting('storagenetwork:inventory', [
      'NIN',
      'IAI',
      'NIN' 
  ],{
      A: 'create:brass_casing',
      I: 'storagenetwork:kabel',
      N: 'createaddition:zinc_sheet'
  })

  event.recipes.create.mechanical_crafting('storagenetwork:master', [
    'NIN',
    'IAI',
    'NIN' 
],{
    A: 'create:precision_mechanism',
    I: 'storagenetwork:kabel',
    N: 'create:polished_rose_quartz'
})
 //energy trasnfuser
 event.replaceInput({id: 'draconicevolution:energy_transfuser'}, 'draconicevolution:energy_core_stabilizer', 'createaddition:tesla_coil')

})