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": 'forge:dusts/wood'
      },
      {
        "item": 'minecraft:coal'
      },
      {
        "item": 'forge:dusts/wood'
      },
      {
        "item": 'minecraft:coal'
      },
      {
        "item": 'forge:dusts/wood'
      },
      {
        "item": 'minecraft:coal'
      },
      {
        "item": 'forge:dusts/wood'
      }
    ],
    "output": {
      "item": 'bigreactors:graphite_ingot'
    },
    "liquidOutput": "lava",
    "fluidLevelsConsumed": 2
  }
  )
  //With Charcoal
  event.custom(
  {
    "type": "hexerei:mixingcauldron",
    "liquid": "lava",
    "ingredients": [
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'forge:dusts/wood'
      },
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'forge:dusts/wood'
      },
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'forge:dusts/wood'
      },
      {
        "item": 'minecraft:charcoal'
      },
      {
        "item": 'forge:dusts/wood'
      }
    ],
    "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'
  })

  //Graphite from Dissolution Chamber
  event.custom(
  {
  "input": [
    {
      "tag": 'minecraft:coals'
    },
    {
      "tag": 'forge:dusts/wood'
    },
    {
      "tag": 'minecraft:coals'
    },
    {
      "tag": 'forge:dusts/wood'
    },
    {
      "tag": 'forge:dusts/wood'
    },
    {
      "tag": 'minecraft:coals'
    },
    {
      "tag": 'forge:dusts/wood'
    },
    {
      "tag": 'minecraft:coals'
    }
  ],
  "inputFluid": "{FluidName:\"minecraft:lava\",Amount:1000}",
  "processingTime": 400,
  "output": {
    "item": "bigreactors:graphite_ingot",
    "count": 1
  },
  "type": "industrialforegoing:dissolution_chamber"
}
)
})
