ServerEvents.recipes(event => {
  //ingots to plates dans pressurizer
  const plates = [
    { ingot: 'minecraft:iron_ingot', plate: 'thermal:iron_plate' },
    { ingot: 'minecraft:gold_ingot', plate: 'thermal:gold_plate' },
    { ingot: 'immersiveengineering:ingot_aluminum', plate: 'immersiveengineering:plate_aluminum' },
    { ingot: 'minecraft:copper_ingot', plate: 'thermal:copper_plate' },
    { ingot: 'thermal:tin_ingot', plate: 'thermal:tin_plate' },
    { ingot: 'thermal:lead_ingot', plate: 'thermal:lead_plate' },
    { ingot: 'thermal:silver_ingot', plate: 'thermal:silver_plate' },
    { ingot: 'thermal:nickel_ingot', plate: 'thermal:nickel_plate' },
    { ingot: 'thermal:bronze_ingot', plate: 'thermal:bronze_plate' },
    { ingot: 'thermal:constantan_ingot', plate: 'thermal:constantan_plate' },
    { ingot: 'thermal:electrum_ingot', plate: 'thermal:electrum_plate' },
    { ingot: 'mekanism:ingot_osmium', plate: 'common_ore_library:osmium_plate' }, 
    { ingot: 'mekanism:ingot_steel', plate: 'thermal:steel_plate' }, 
    { ingot: 'thermal_extra:soul_infused_ingot', plate: 'thermal_extra:soul_infused_plate' },
    { ingot: 'thermal_extra:shellite_ingot', plate: 'thermal_extra:shellite_plate' },
    { ingot: 'thermal_extra:twinite_ingot', plate: 'thermal_extra:twinite_plate' },
    { ingot: 'thermal_extra:dragonsteel_ingot', plate: 'thermal_extra:dragonsteel_plate' },
    { ingot: 'thermal_extra:abyssal_ingot', plate: 'thermal_extra:abyssal_plate' },
    { ingot: 'nuclearcraft:tungsten_ingot', plate: 'common_ore_library:tungsten_plate' },
     { ingot: 'nuclearcraft:iridium_ingot', plate: 'common_ore_library:iridium_plate'},
     { ingot: 'tconstruct:manyullyn_ingot', plate: 'common_ore_library:manyullyn_plate' },
     { ingot: 'thermal:rose_gold_ingot', plate: 'thermal:rose_gold_plate' },
     { ingot: 'thermalendergy:prismalium_ingot', plate: 'thermalendergy:prismalium_plate' },
    { ingot: 'thermalendergy:stellarium_ingot', plate: 'thermalendergy:stellarium_plate' },
    { ingot: 'thermalendergy:melodium_ingot', plate: 'thermalendergy:melodium_plate' },
    { ingot: 'common_ore_library:brass_ingot', plate: 'common_ore_library:brass_plate' },
    { ingot: 'thermal:lumium_ingot', plate: 'thermal:lumium_plate' },
    { ingot: 'thermal:invar_ingot', plate: 'thermal:invar_plate' },
    { ingot: 'thermal:enderium_ingot', plate: 'thermal:enderium_plate' },
    { ingot: 'thermal:signalum_ingot', plate: 'thermal:signalum_plate' }
  ]

  plates.forEach(pair => {
    event.custom({
      type: 'nuclearcraft:pressurizer',
      input: { item: pair.ingot },
      output: { item: pair.plate },
      pressure: 1
    })
  })
})
