onEvent("recipes", (event) => {

//Graphite Ingot,
  event.remove({output: 'bigreactors:graphite_ingot', type: 'minecraft:blasting'})
  event.remove({output: 'bigreactors:graphite_ingot', type: 'minecraft:smelting'})
  //With Coal
  event.custom(
  {
    "type": "hexerei:mixingcauldron",
    "liquid": "lava",
    "ingredients": [
      {
        "item": 'minecraft:coal'
      },
      {
        "item": 'thermal:sawdust'
      },
      {
        "item": 'minecraft:coal'
      },
      {
        "item": 'thermal:sawdust'
      },
      {
        "item": 'minecraft:coal'
      },
      {
        "item": 'thermal:sawdust'
      },
      {
        "item": 'minecraft:coal'
      },
      {
        "item": 'thermal:sawdust'
      }
    ],
    "output": {
      "item": 'bigreactors:graphite_ingot'
    },
    "liquidOutput": "lava",
    "fluidLevelsConsumed": 2
  }
  )
  //With Charcoal
  event.custom(
  {
    "type": "hexerei:mixingcauldron",
    "liquid": "lava",
    "ingredients": [
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'thermal:sawdust'
      },
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'thermal:sawdust'
      },
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'thermal:sawdust'
      },
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'thermal:sawdust'
      }
    ],
    "output": {
      "item": 'bigreactors:graphite_ingot'
    },
    "liquidOutput": "lava",
    "fluidLevelsConsumed": 2
  }
  )

  //Reactor Casing (basic)
  event.remove({ output: 'bigreactors:basic_reactorcasing' })
  event.shaped('2x bigreactors:basic_reactorcasing', [
  'LGL',
  'GSG',
  'LGL'
  ], {
    L: 'bigreactors:graphite_ingot',
    G: '#forge:ingots/steel',
    S: 'thermal:machine_frame'
  })

  //Reactor Casing (advanced)
  event.remove({ output: 'bigreactors:reinforced_reactorcasing' })
  event.shaped('bigreactors:reinforced_reactorcasing', [
  'LGL',
  'ASA',
  'LGL'
  ], {
    L: 'hexerei:infused_fabric',
    G: 'bigreactors:basic_turbinerotorshaft',
    S: 'bigreactors:basic_reactorcasing',
    A: 'bigreactors:blutonium_ingot'
  })
})
