onEvent('recipes', event => {
    event.recipes.create.mixing('minecraft:netherite_ingot', [
        'minecraft:netherite_scrap',
        'minecraft:netherite_scrap',
        'minecraft:netherite_scrap',
        'minecraft:netherite_scrap',
        'minecraft:gold_ingot',
        'minecraft:gold_ingot',
        'minecraft:gold_ingot',
        'minecraft:gold_ingot'
      ]).heated()  })

//dragon upgrade
onEvent('recipes', event => {
    event.recipes.create.mechanical_crafting('rats:rat_upgrade_dragon', [
        ' CCC ',
        'CPIPC',
        'CPRPC',
        'CPFPC',
        ' CCC ' 
      ], {
        C: /iceandfire:dragonscale_.*/,
        P: 'rats:dragon_wing',
        R: 'rats:rat_upgrade_asbestos',
        I: 'rats:rat_upgrade_flight',
        F: 'rats:rat_upgrade_warrior'
    })
})
//jet_chestplate
onEvent('recipes', event => {
    event.recipes.create.mechanical_crafting('create_stuff_additions:encased_jet_chestplate', [
        'DNNND',
        'FIWIF',
        ' ICI ' 
      ], {
        N: 'create:brass_sheet',
        I: 'create:brass_ingot',
        F: 'create:encased_fan',
        D: 'rats:dragon_wing',
        C: 'create:integrated_circuit',
        W: 'create:large_cogwheel'     
    })
})
//blaze_gold
onEvent('recipes', event => {
    event.recipes.create.mixing('silentgear:blaze_gold_ingot', [
        'minecraft:blaze_powder',
        'minecraft:blaze_powder',
        'minecraft:blaze_powder',
        'minecraft:blaze_powder',
        'minecraft:gold_ingot'
      ]).heated()  })
//Ice&Fire Tools
onEvent('recipes', event => {
    //ICE SWORD
    event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_ice_sword', [
         'I',
        'I',
        'I',
        'N',
         'N' 
      ], {
        N: 'kubejs:withering_blazed_rod',
        I: 'iceandfire:dragonsteel_ice_ingot'
    })
    //ICE PICK
    event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_ice_pickaxe', [
        '  I  ',
        ' III ',
        'IINII',
        '  N  ',
        '  N  ' 
     ], {
       N: 'kubejs:withering_blazed_rod',
       I: 'iceandfire:dragonsteel_ice_ingot'
   })
   //ICE AXE
   event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_ice_axe', [
    'I I',
    ' I ',
    'INI',
    ' N ',
    ' N ' 
  ], {
   N: 'kubejs:withering_blazed_rod',
   I: 'iceandfire:dragonsteel_ice_ingot'
    })
    //ICE SHOVEL
    event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_ice_shovel', [
        ' I ',
        'III',
        ' N ',
        ' N ',
        ' N ' 
     ], {
       N: 'kubejs:withering_blazed_rod',
       I: 'iceandfire:dragonsteel_ice_ingot'
        })
    //ICE HOE
    event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_ice_hoe', [
        'III  ',
        '  I  ',
        '  N  ',
        '  N  ',
        '  N  ' 
     ], {
       N: 'kubejs:withering_blazed_rod',
       I: 'iceandfire:dragonsteel_ice_ingot'
        })
    //FIRE SWORD
    event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_fire_sword', [
        'I',
       'I',
       'I',
       'N',
        'N' 
     ], {
       N: 'kubejs:withering_blazed_rod',
       I: 'iceandfire:dragonsteel_fire_ingot'
   })
   //FIRE PICK
   event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_fire_pickaxe', [
       '  I  ',
       ' III ',
       'IINII',
       '  N  ',
       '  N  ' 
    ], {
      N: 'kubejs:withering_blazed_rod',
      I: 'iceandfire:dragonsteel_fire_ingot'
  })
  //FIRE AXE
  event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_fire_axe', [
   'I I',
   ' I ',
   'INI',
   ' N ',
   ' N ' 
  ], {
  N: 'kubejs:withering_blazed_rod',
  I: 'iceandfire:dragonsteel_fire_ingot'
   })
   //FIRE SHOVEL
   event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_fire_shovel', [
       ' I ',
       'III',
       ' N ',
       ' N ',
       ' N ' 
    ], {
      N: 'kubejs:withering_blazed_rod',
      I: 'iceandfire:dragonsteel_fire_ingot'
       })
   //FIRE HOE
   event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_fire_hoe', [
       'III  ',
       '  I  ',
       '  N  ',
       '  N  ',
       '  N  ' 
    ], {
      N: 'kubejs:withering_blazed_rod',
      I: 'iceandfire:dragonsteel_fire_ingot'
       })
    //LIGHTNING SWORD
    event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_lightning_sword', [
        'I',
       'I',
       'I',
       'N',
        'N' 
     ], {
       N: 'kubejs:withering_blazed_rod',
       I: 'iceandfire:dragonsteel_lightning_ingot'
   })
   //LIGHTNING PICK
   event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_lightning_pickaxe', [
       '  I  ',
       ' III ',
       'IINII',
       '  N  ',
       '  N  ' 
    ], {
      N: 'kubejs:withering_blazed_rod',
      I: 'iceandfire:dragonsteel_lightning_ingot'
  })
  //LIGHTNING AXE
  event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_lightning_axe', [
   'I I',
   ' I ',
   'INI',
   ' N ',
   ' N ' 
  ], {
  N: 'kubejs:withering_blazed_rod',
  I: 'iceandfire:dragonsteel_lightning_ingot'
   })
   //LIGHTNING SHOVEL
   event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_lightning_shovel', [
       ' I ',
       'III',
       ' N ',
       ' N ',
       ' N ' 
    ], {
      N: 'kubejs:withering_blazed_rod',
      I: 'iceandfire:dragonsteel_lightning_ingot'
       })
   //LIGHTNING HOE
   event.recipes.create.mechanical_crafting('iceandfire:dragonsteel_lightning_hoe', [
       'III  ',
       '  I  ',
       '  N  ',
       '  N  ',
       '  N  ' 
    ], {
      N: 'kubejs:withering_blazed_rod',
      I: 'iceandfire:dragonsteel_lightning_ingot'
       })
  
  })
//crushing silver
//onEvent('recipes', event => {
//  event.custom({
//    type: 'create:crushing',
//   ingredients: [
//      Ingredient.of('kubejs:raw_silver').toJson()
//    ],
//    results: [
//      Item.of('create:crushed_silver_ore').toResultJson(),
//      Item.of('create:crushed_silver_ore').withChance(0.30).toResultJson(),
//     Item.of('minecraft:cobblestone').withChance(0.10).toResultJson()
//    ],
//    processingTime: 100
//  })
//})

onEvent('item.tags', event => {
 
  event.add('forge:ores/silver', 'kubejs:raw_silver')
  event.add('forge:ores/silver', 'darkerdepths:aridrock_silver_ore')
  event.add('forge:ingots/silver','darkerdepths:silver_ingot')
})