ServerEvents.recipes(event => {
    event.remove({ output: 'extendedcrafting:advanced_table' })
    event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABC",
    "BDB",
    "CBA"
  ],
  "key": {
    "A": {
      "item": "advanced_ae:quantum_alloy_plate"
    },
    "B": {
      "item": "extendedcrafting:advanced_catalyst"
    },
    "C": {
      "item": "botania:terrasteel_ingot"
    },
    "D": {
      "item": "extendedcrafting:basic_table"
    }
  },
  "result": {
    "item": "extendedcrafting:advanced_table" 
    }
 })
    //Ultimate ingot
    event.remove({ output: 'extendedcrafting:the_ultimate_ingot' })
    event.custom({
  "type": "extendedcrafting:shapeless_table",
  "ingredients": [
    {
      "item": "minecraft:iron_ingot"
    },
    {
      "item": "minecraft:copper_ingot"
    },
    {
      "item": "minecraft:gold_ingot"
    },
    {
      "item": "minecraft:netherite_ingot"
    },
    {
      "item": "avaritia:crystal_matrix_ingot"
    },
    {
      "item": "avaritia:neutronium_ingot"
    },
    {
      "item": "avaritia:infinity_ingot"
    },
    {
      "item": "bloodmagic:ingot_hellforged"
    },
    {
      "item": "alltheores:aluminum_ingot"
    },
    {
      "item": "alltheores:platinum_ingot"
    },
    {
      "item": "alltheores:zinc_ingot"
    },
    {
      "item": "alltheores:iridium_ingot"
    },
    {
      "item": "alltheores:brass_ingot"
    },
    {
      "item": "extendedcrafting:black_iron_ingot"
    },
    {
      "item": "extendedcrafting:redstone_ingot"
    },
    {
      "item": "extendedcrafting:enhanced_redstone_ingot"
    },
    {
      "item": "extendedcrafting:ender_ingot"
    },
    {
      "item": "extendedcrafting:crystaltine_ingot"
    },
    {
      "item": "allthemodium:allthemodium_ingot"
    },
    {
      "item": "allthemodium:vibranium_ingot"
    },
    {
      "item": "allthemodium:unobtainium_ingot"
    },
    {
      "item": "evolvedmekanism:ingot_better_gold"
    },
    {
      "item": "evolvedmekanism:ingot_plaslitherite"
    },
    {
      "item": "bigreactors:blutonium_ingot"
    },
    {
      "item": "bigreactors:cyanite_ingot"
    },
    {
      "item": "bigreactors:magentite_ingot"
    },
    {
      "item": "bigreactors:ludicrite_ingot"
    },
    {
      "item": "botania:manasteel_ingot"
    },
    {
      "item": "botania:terrasteel_ingot"
    },
    {
      "item": "botania:elementium_ingot"
    },
    {
      "item": "botania:gaia_ingot"
    },
    {
      "item": "botanicalextramachinery:malachite_ingot"
    },
    {
      "item": "botanicalextramachinery:saffron_ingot"
    },
    {
      "item": "botanicalextramachinery:shadow_ingot"
    },
    {
      "item": "botanicalextramachinery:crimson_ingot"
    },
    {
      "item": "botanicalextramachinery:crystal_ingot"
    },
    {
      "item": "tconstruct:manyullyn_ingot"
    },
    {
      "item": "tconstruct:cobalt_ingot"
    },
    {
      "item": "bigreactors:ridiculite_ingot"
    },
    {
      "item": "bigreactors:inanite_ingot"
    },
    {
      "item": "bigreactors:insanite_ingot"
    },
    {
      "item": "forbidden_arcanus:deorum_ingot"
    },
    {
      "item": "forbidden_arcanus:obsidian_ingot"
    },
    {
      "item": "industrialforegoing:pink_slime_ingot"
    },
    {
      "item": "megacells:sky_steel_ingot"
    },
    {
      "item": "draconicevolution:draconium_ingot"
    },
    {
      "item": "draconicevolution:awakened_draconium_ingot"
    },
    {
      "item": "mekanism:ingot_refined_obsidian"
    },
    {
      "item": "mekanism:ingot_refined_glowstone"
    },
    {
      "item": "mekanism:ingot_osmium"
    },
    {
      "item": "mekanism:ingot_uranium"
    },
    {
      "item": "mysticalagriculture:prosperity_ingot"
    },
    {
      "item": "mysticalagriculture:inferium_ingot"
    },
    {
      "item": "mysticalagriculture:prudentium_ingot"
    },
    {
      "item": "enderio:copper_alloy_ingot"
    },
    {
      "item": "enderio:energetic_alloy_ingot"
    },
    {
      "item": "enderio:vibrant_alloy_ingot"
    },
    {
      "item": "enderio:redstone_alloy_ingot"
    },
    {
      "item": "enderio:conductive_alloy_ingot"
    },
    {
      "item": "enderio:pulsating_alloy_ingot"
    },
    {
      "item": "enderio:dark_steel_ingot"
    },
    {
      "item": "enderio:soularium_ingot"
    },
    {
      "item": "enderio:end_steel_ingot"
    },
    {
      "item": "advancednetherite:netherite_iron_ingot"
    },
    {
      "item": "advancednetherite:netherite_gold_ingot"
    },
    {
      "item": "advancednetherite:netherite_emerald_ingot"
    },
    {
      "item": "advancednetherite:netherite_diamond_ingot"
    },
    {
      "item": "mysticalagriculture:tertium_ingot"
    },
    {
      "item": "mysticalagriculture:imperium_ingot"
    },
    {
      "item": "mysticalagriculture:supremium_ingot"
    },
    {
      "item": "mysticalagriculture:awakened_supremium_ingot"
    },
    {
      "item": "mysticalagriculture:soulium_ingot"
    },
    {
      "item": "nuclearcraft:thorium_ingot"
    },
    {
      "item": "nuclearcraft:graphite_ingot"
    },
    {
      "item": "nuclearcraft:lithium_ingot"
    },
    {
      "item": "nuclearcraft:tungsten_ingot"
    },
    {
      "item": "nuclearcraft:ferroboron_ingot"
    },
    {
      "item": "nuclearcraft:hard_carbon_ingot"
    },
    {
      "item": "nuclearcraft:tough_alloy_ingot"
    },
    {
      "item": "thermalendergy:melodium_ingot"
    },
    {
      "item": "thermalendergy:stellarium_ingot"
    }
  ],
  "result": {
    "item": "extendedcrafting:the_ultimate_ingot"
  }
})
    event.remove({ output: 'extendedcrafting:elite_table' })
    event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABCDE",
    "BFGFH",
    "CGIGC",
    "HFGFB",
    "EDCBA"
  ],
  "key": {
    "A": {
      "item": "ars_nouveau:source_gem"
    },
    "B": {
      "item": "advanced_ae:quantum_alloy_plate"
    },
    "C": {
      "item": "extendedcrafting:ender_ingot_block"
    },
    "D": {
      "item": "botania:terrasteel_ingot"
    },
    "E": {
      "item": "occultism:spirit_attuned_gem"
    },
    "F": {
      "item": 'extendedcrafting:elite_catalyst'
    },
    "G": {
      "item": "extendedcrafting:advanced_component"
    },
    "H": {
      "item": "powah:crystal_nitro"
    },
    "I": {
      "item": "extendedcrafting:advanced_table"
    }
  },
  "result": {
    "item": 'extendedcrafting:elite_table'
  }
})
//Black iron ingot
event.remove({ output: 'extendedcrafting:black_iron_ingot' })
event.shaped(
  Item.of('extendedcrafting:black_iron_ingot', 18), 
  [
    'ABC',
    'BDB', 
    'CBE'
  ],
  {
    A: 'allthemodium:unobtainium_vibranium_alloy_ingot',
    B: 'mekanism:pellet_plutonium', 
    C: 'allthemodium:piglich_heart', 
    D: 'pneumaticcraft:module_expansion_card',
    E: 'allthemodium:vibranium_allthemodium_alloy_ingot'
  }
)
event.remove({ output: 'extendedcrafting:ultimate_table' })
    event.custom({
  "type": "extendedcrafting:shaped_table",
  "pattern": [
    "ABCDCBA",
    "BEFGFEB",
    "CHIJKHC",
    "DGJLJGD",
    "MHKJIHM",
    "BEFGFEB",
    "ABMDMBA"
  ],
  "key": {
    "A": {
      "item": "botania:terrasteel_ingot"
    },
    "B": {
      "item": "advanced_ae:quantum_alloy_plate"
    },
    "C": {
      "item": "allthemodium:unobtainium_allthemodium_alloy_ingot"
    },
    "D": {
      "item": "extendedcrafting:ender_ingot_block"
    },
    "E": {
      "item": "ars_nouveau:source_gem"
    },
    "F": {
      "item": "pneumaticcraft:module_expansion_card"
    },
    "G": {
      "item": "extendedcrafting:basic_catalyst"
    },
    "H": {
      "item": "mekanism:pellet_plutonium"
    },
    "I": {
      "item": "extendedcrafting:advanced_catalyst"
    },
    "J": {
      "item": "extendedcrafting:ultimate_catalyst"
    },
    "K": {
      "item": "extendedcrafting:elite_catalyst"
    },
    "L": {
      "item": "extendedcrafting:elite_table"
    },
    "M": {
      "item": "allthemodium:vibranium_allthemodium_alloy_ingot"
    }
  },
  "result": {
    "item": 'extendedcrafting:ultimate_table'
  }
})
})