onEvent("recipes", (event) => {
  event.remove({ output: 'rftoolsbase:machine_base' })
  event.shaped('rftoolsbase:machine_base', [
  'PGP',
  'SSS'
  ], {
    S: 'thermal:polished_slag',
    G: 'thermal:gold_gear',
    P: 'thermal:gold_plate'
  })

  event.remove({ output: 'rftoolsbase:machine_frame' })

  event.remove({ output: 'rftoolsbase:smartwrench' })
  event.shaped('rftoolsbase:smartwrench', [
  ' S ',
  ' PS',
  'P  '
  ], {
    S: 'mekanism:ingot_steel',
    P: 'thermal:enderium_plate'
  })

  event.remove({ output: 'rftoolsbase:tablet' })
  event.shaped('rftoolsbase:tablet', [
  'PEP',
  'RQR',
  'PRP'
  ], {
    Q: 'thermal:quartz_gear',
    P: 'thermal:gold_plate',
    R: 'extendedcrafting:redstone_ingot_block',
    E: 'minecraft:emerald'
  })

  event.remove({ output: 'rftoolsstorage:modular_storage' })
  event.shaped('rftoolsstorage:modular_storage', [
  'RCR',
  'PFP',
  'RPR'
  ], {
    C: 'immersiveengineering:crate',
    P: 'thermal:invar_plate',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsbase:machine_frame'
  })

  event.remove({ output: 'rftoolsutility:crafter1' })
  event.shaped('rftoolsutility:crafter1', [
  ' R ',
  'CFC',
  ' R '
  ], {
    C: 'immersiveengineering:craftingtable',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsbase:machine_frame'
  })

  event.remove({ output: 'rftoolsutility:crafter2' })
  event.shaped('rftoolsutility:crafter2', [
  ' R ',
  'CFC',
  ' R '
  ], {
    C: 'immersiveengineering:craftingtable',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsutility:crafter1'
  })

  event.remove({ output: 'rftoolsutility:crafter3' })
  event.shaped('rftoolsutility:crafter3', [
  ' R ',
  'CFC',
  ' R '
  ], {
    C: 'immersiveengineering:craftingtable',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsutility:crafter2'
  })

  event.remove({ output: 'rftoolsstorage:storage_scanner' })
  event.shaped('rftoolsstorage:storage_scanner', [
  'RPR',
  'GFG',
  'RPR'
  ], {
    G: 'thermal:gold_plate',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsbase:machine_frame',
    P: 'minecraft:ender_pearl'
  })

  event.remove({ output: 'rftoolsbuilder:builder' })
  event.shaped('rftoolsbuilder:builder', [
  'BPB',
  'RFR',
  'BRB'
  ], {
    B: 'minecraft:polished_blackstone_bricks',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsbase:machine_frame',
    P: 'rftoolsbase:infused_enderpearl'
  })

  event.remove({ output: 'rftoolsbuilder:shield_block1' })
  event.shaped('rftoolsbuilder:shield_block1', [
  'PRP',
  'IFI',
  'OOO'
  ], {
    O: 'minecraft:obsidian',
    I: 'extendedcrafting:redstone_ingot',
    R: 'minecraft:redstone_block',
    F: 'rftoolsbase:machine_frame',
    P: 'thermal:gold_plate'
  })

  event.remove({ output: 'rftoolsbuilder:shield_block2' })
  event.shaped('rftoolsbuilder:shield_block2', [
  'ROR',
  'OSO',
  'ROR'
  ], {
    O: 'minecraft:obsidian',
    R: 'extendedcrafting:redstone_ingot_block',
    S: 'rftoolsbuilder:shield_block1'
  })

  event.remove({ output: 'rftoolsbuilder:shield_block3' })
  event.shaped('rftoolsbuilder:shield_block3', [
  'ROR',
  'OSO',
  'ROR'
  ], {
    O: 'minecraft:obsidian',
    R: 'rftoolsbase:infused_diamond',
    S: 'rftoolsbuilder:shield_block2'
  })

  event.remove({ output: 'rftoolsbuilder:shield_block4' })
  event.shaped('rftoolsbuilder:shield_block4', [
  'NOR',
  'OSO',
  'RON'
  ], {
    O: 'minecraft:obsidian',
    R: 'rftoolsbase:infused_diamond',
    S: 'rftoolsbuilder:shield_block3',
    N: 'minecraft:nether_star'
  })

  event.remove({ output: 'rftoolsstorage:storage_module0' })
  event.shaped('rftoolsstorage:storage_module0', [
  ' C ',
  'PSP',
  'QRQ'
  ], {
    Q: 'minecraft:quartz',
    R: 'extendedcrafting:redstone_ingot',
    P: 'thermal:gold_plate',
    S: 'mekanism:ingot_steel',
    C: '#forge:chests'
  })

  event.remove({ output: 'rftoolsstorage:storage_module1' })
  event.shaped('rftoolsstorage:storage_module1', [
  ' C ',
  'PSP',
  'QRQ'
  ], {
    Q: 'minecraft:quartz',
    R: 'extendedcrafting:redstone_ingot',
    P: 'thermal:electrum_plate',
    S: 'mekanism:ingot_steel',
    C: 'rftoolsstorage:storage_module0'
  })

  event.remove({ output: 'rftoolsstorage:storage_module2' })
  event.shaped('rftoolsstorage:storage_module2', [
  ' C ',
  'PSP',
  'QRQ'
  ], {
    Q: '#forge:storage_blocks/quartz',
    R: 'extendedcrafting:redstone_ingot_block',
    P: 'tconstruct:rose_gold_block',
    S: 'mekanism:block_steel',
    C: 'rftoolsstorage:storage_module1'
  })

  event.remove({ output: 'rftoolsstorage:storage_module3' })
  event.shaped('rftoolsstorage:storage_module3', [
  'DCD',
  'PSP',
  'QRQ'
  ], {
    Q: 'minecraft:chiseled_quartz_block',
    R: 'extendedcrafting:redstone_ingot_block',
    P: 'occultism:spirit_attuned_gem',
    S: 'tconstruct:slimesteel_block',
    C: 'rftoolsstorage:storage_module2',
    D: 'rftoolsbase:infused_diamond'
  })

  event.remove({ output: 'rftoolsstorage:storage_control_module' })
  event.shaped('rftoolsstorage:storage_control_module', [
  'SCE',
  'RIR',
  'ECS'
  ], {
    S: 'thermal:signalum_plate',
    C: 'immersiveengineering:craftingtable',
    E: 'thermal:enderium_plate',
    R: 'extendedcrafting:redstone_ingot',
    I: 'mekanism:ingot_steel'
  })

  event.remove({ output: 'rftoolsutility:matter_transmitter' })
  event.shaped('rftoolsutility:matter_transmitter', [
  'PPP',
  'RFR',
  'SSS'
  ], {
    S: 'mekanism:ingot_steel',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsbase:machine_frame',
    P: 'minecraft:ender_pearl'
  })

  event.remove({ output: 'rftoolsutility:matter_receiver' })
  event.shaped('rftoolsutility:matter_receiver', [
  'SSS',
  'RFR',
  'PPP'
  ], {
    S: 'mekanism:ingot_steel',
    R: 'extendedcrafting:redstone_ingot',
    F: 'rftoolsbase:machine_frame',
    P: 'minecraft:ender_pearl'
  })

  event.remove({ output: 'rftoolsutility:tank' })
  event.shaped('rftoolsutility:tank', [
  'GGG',
  'CFC',
  'SSS'
  ], {
    S: 'mekanism:ingot_steel',
    F: 'rftoolsbase:machine_frame',
    G: 'thermal:obsidian_glass',
    C: 'cyclic:cask'
  })

  event.remove({ output: 'rftoolsutility:spawner' })
  event.shaped('rftoolsutility:spawner', [
  'RFR',
  'EML',
  'RBR'
  ], {
    R: 'extendedcrafting:redstone_ingot',
    B: 'minecraft:bone',
    L: 'minecraft:blaze_rod',
    F: 'minecraft:rotten_flesh',
    E: 'minecraft:ender_pearl',
    M: 'rftoolsbase:machine_frame'
  })

  event.remove({ output: 'rftoolsutility:matter_beamer' })
  event.shaped('rftoolsutility:matter_beamer', [
  'RSR',
  'GMG',
  'RSR'
  ], {
    R: 'extendedcrafting:redstone_ingot_block',
    S: 'minecraft:shroomlight',
    G: '#forge:glowstone',
    M: 'rftoolsbase:machine_frame'
  })
});
