ServerEvents.recipes(event => {
event.remove({ output: 'extendedcrafting:black_iron_ingot' })
event.remove({ output: 'extendedcrafting:ender_ingot' })
event.remove({ output: 'extendedcrafting:redstone_ingot' })
event.remove({ output: 'extendedcrafting:luminessence' })
event.remove({ id: 'extendedcrafting:flux_star' })

  event.recipes.create.mixing(
    'extendedcrafting:ender_ingot',
    ['naturesaura:infused_iron', 'naturesaura:end_city_finder','alexscaves:azure_neodymium_ingot']
  )
  .superheated()
  .id('extendedcrafting:ender_ingot')


    event.custom({
    type: 'ars_nouveau:enchanting_apparatus',
    output: {
      item: 'extendedcrafting:black_iron_ingot'
    },
    pedestalItems: [
      { item: 'mekanism:ingot_refined_obsidian' },
      { item: 'mekanism:ingot_refined_obsidian' },
      { item: 'mekanism:ingot_refined_glowstone' },
      { item: 'mekanism:ingot_refined_glowstone' },
      { item: 'minecraft:netherite_ingot' },
      { item: 'minecraft:netherite_ingot' }
    ],
    reagent: {
      item: 'alexsmobs:rainbow_jelly'
    },
    source_cost: 3000,
    keep_nbt_of_reagent: false
  })

    event.custom({
    type: 'powah:energizing',
    ingredients: [
      Ingredient.of('powah:crystal_nitro').toJson(),
      Ingredient.of('thermal:rose_gold_ingot').toJson(),
      Ingredient.of('minecraft:redstone').toJson(),
      Ingredient.of('thermal:signalum_ingot').toJson(),
      Ingredient.of('alexscaves:scarlet_neodymium_ingot').toJson()
    ],
    energy: 25000000,
    result: { item: 'extendedcrafting:redstone_ingot', count: 2 } // count is supported
  }).id('kjs:powah/my_tagged_recipe');

  event.recipes.industrialforegoing.dissolution_chamber(
    [
      'ars_nouveau:water_essence',
      'ars_nouveau:earth_essence',
      'ars_nouveau:fire_essence',
      'ars_nouveau:air_essence',
      'ars_nouveau:abjuration_essence',
      'ars_nouveau:conjuration_essence',
      'ars_nouveau:manipulation_essence'
    ],
    Fluid.of('mekanism:brine', 1000), // input fluid + amount (mB)
    Item.of('extendedcrafting:luminessence', 1),            // output item (+ count)
    120        // processing time in ticks (20 ticks = 1s) → 6s here
  )
  // (optional) also produce an output fluid:
  // .outputFluid(Fluid.of('minecraft:water', 250))
  .id('extendedcrafting:luminessence');

  event.recipes.extendedcrafting.shaped_flux_crafter(
    "extendedcrafting:flux_star",
    [
      ' G ',
      'GNG',
      ' G '
    ],
    {
      G: 'fluxnetworks:basic_flux_storage',
      N: 'minecraft:nether_star'
    },
    500000 // total FE required
  )
  .powerRate(5000) // optional; FE/t, omit or change as you like
  .id('extendedcrafting:flux_star');

    event.recipes.extendedcrafting.shaped_ender_crafter(
    "extendedcrafting:ender_star",
    [
      'DED',
      'ENE',
      'DED'
    ],
    {
      E: 'minecraft:dragon_egg',
      N: 'minecraft:nether_star',
      D: 'botania:dragonstone'
    }
  )
  .craftingTime(500) // optional; FE/t, omit or change as you like
  .id('extendedcrafting:ender_star');

      event.recipes.extendedcrafting.shaped_table(
    "souls:sloth_soul",
    [
      "   kkk   ",  
      "kkkklkkkk",
      "keBCDJGHk",
      "kNSOEPQFk",
      "kiKILRMjk",  
      "kZafgbcdk",  
      "kXVYhTUWk",
      "kkkkkkkkk",
      "         "   
    ],
    {
      B: 'alexsmobs:ambergris',
      C: 'alexsmobs:bison_fur',
      D: 'alexsmobs:rattlesnake_rattle',
      E: 'alexsmobs:tarantula_hawk_wing',
      F: 'alexsmobs:raccoon_tail',
      G: 'alexsmobs:mungal_spores',
      H: 'alexsmobs:moose_antler',
      I: 'alexsmobs:centipede_leg',
      J: 'alexsmobs:shark_tooth',
      K: 'alexsmobs:elastic_tendon',
      L: 'alexsmobs:rocky_shell',
      M: 'alexsmobs:roadrunner_feather',
      N: 'alexsmobs:straddlite',
      O: 'alexsmobs:mimicream',
      P: 'alexsmobs:komodo_spit',
      Q: 'alexsmobs:kangaroo_hide',
      R: 'alexsmobs:blood_sac',
      S: 'alexsmobs:bone_serpent_tooth',
      T: 'alexsmobs:guster_eye',
      U: 'alexsmobs:bear_fur',
      V: 'alexsmobs:warped_muscle',
      W: 'alexsmobs:spiked_scute',
      X: 'alexsmobs:crocodile_scute',
      Y: 'alexsmobs:hemolymph_sac',
      Z: 'alexsmobs:dropbear_claw',
      a: 'alexsmobs:emu_feather',
      b: 'alexsmobs:void_worm_eye',
      c: 'alexsmobs:void_worm_mandible',
      d: 'alexsmobs:rainbow_jelly',
      e: 'alexsmobs:cockroach_wing',
      f: 'alexsmobs:skreecher_soul',
      g: 'alexsmobs:gazelle_horn',
      h: 'alexsmobs:froststalker_horn',
      i: 'alexsmobs:fish_bones',
      j: 'alexsmobs:emu_egg',
      k: 'botania:rune_sloth',
      l: 'alexscaves:tremorzilla_egg'

    }
  )
  .id("souls:sloth_soul")

      event.recipes.extendedcrafting.shaped_table(
    "souls:envy_soul",
    [
      "xxxxxxxxx",
      "xabcdefgx",
      "xhijklmnx",
      " xopqrsx ",
      "  xtuvx  ",
      "   xxx   ",
      "         ",
      "         ",
      "         "
      

    ],
    {
      a: 'tarotcards:strength',
      b: 'tarotcards:temperance',
      c: 'tarotcards:the_chariot',
      d: 'tarotcards:the_devil',
      e: 'tarotcards:the_emperor',
      f: 'tarotcards:the_empress',
      g: 'tarotcards:the_fool',
      h: 'tarotcards:the_hanged_man',
      i: 'tarotcards:the_hermit',
      j: 'tarotcards:the_hierophant',
      k: 'tarotcards:the_high_priestess',
      l: 'tarotcards:the_lovers',
      m: 'tarotcards:the_magician',
      n: 'tarotcards:the_moon',
      o: 'tarotcards:the_star',
      p: 'tarotcards:the_sun',
      q: 'tarotcards:the_tower',
      r: 'tarotcards:the_world',
      s: 'tarotcards:wheel_of_fortune',
      t: 'tarotcards:death',
      u: 'tarotcards:judgement',
      v: 'tarotcards:justice',
      x: 'botania:rune_envy'
    }
  )
  .tier(4)
  .id("souls:envy_soul")

        event.recipes.extendedcrafting.shaped_table(
    'souls:wrath_soul',
    [
      "tABCDEt",  
      "tFGHIJt",
      "tKLMNOt",
      "tPQRSTt",
      "tUVWXYt",  
      "tZabcdt",  
      "tefghit",
      "tjklmnt",
      "topqrst"   
    ],
    {
      A: 'ars_nouveau:conjuration_essence',
      B: 'ars_nouveau:air_essence',
      C: 'ars_nouveau:earth_essence',
      D: 'ars_nouveau:fire_essence',
      E: 'ars_nouveau:manipulation_essence',
      F: 'ars_nouveau:abjuration_essence',
      G: 'forbidden_arcanus:aquatic_dragon_scale',
      H: 'forbidden_arcanus:deorum_ingot',
      I: 'forbidden_arcanus:stellarite_piece',
      J: 'ars_nouveau:water_essence',
      K: 'bloodmagic:blankrune',
      L: 'botania:rune_fire',
      M: 'botania:rune_air',
      N: 'botania:rune_earth',
      O: 'bloodmagic:blankslate',
      P: 'bloodmagic:speedrune',
      Q: 'botania:rune_water',
      R: 'botania:spark',
      S: 'botania:rune_mana',
      T: 'bloodmagic:reinforcedslate',
      U: 'bloodmagic:sacrificerune',
      V: 'naturesaura:clock_hand',
      W: 'botania:mana_pool',
      X: 'naturesaura:nature_altar',
      Y: 'bloodmagic:infusedslate',
      Z: 'bloodmagic:selfsacrificerune',
      a: 'naturesaura:token_terror',
      b: 'botania:corporea_index',
      c: 'naturesaura:token_euphoria',
      d: 'bloodmagic:demonslate',
      e: 'bloodmagic:altarcapacityrune',
      f: 'botania:gaia_spreader',
      g: 'botania:runic_altar',
      h: 'botania:brewery',
      i: 'bloodmagic:etherealslate',
      j: 'ars_nouveau:starbuncle_shards',
      k: 'bloodmagic:altar',
      l: 'ars_nouveau:enchanting_apparatus',
      m: 'bloodmagic:alchemytable',
      n: 'ars_nouveau:arcane_pedestal',
      o: 'occultism:divination_rod',
      p: 'naturesaura:offering_table',
      q: 'naturesaura:gold_powder',
      r: 'naturesaura:wood_stand',
      s: 'occultism:dimensional_matrix',
      t: 'botania:rune_wrath'
    }
  )
  .id("souls:wrath_soul")

          event.recipes.extendedcrafting.shaped_table(
    "souls:water_soul",
    [
      "ppppppppp", 
      "p ABCDE p",  
      "p FGHIJ p",
      "pKLMNOPQp",
      "pRSTUVWXp",
      "pYZabcdep",  
      "pfg h ijp",  
      "p klmno p",
      "ppppppppp"  
    ],
    {
      A: 'mekanism:basic_fluid_tank',
      B: 'mekanism:advanced_fluid_tank',
      C: 'mekanism:enrichment_chamber',
      D: 'mekanism:elite_fluid_tank',
      E: 'mekanism:ultimate_fluid_tank',

      F: 'mekanism:metallurgic_infuser',
      G: 'mekanism:chemical_oxidizer',
      H: 'mekanism:chemical_infuser',
      I: 'mekanism:digital_miner',
      J: 'mekanism:solar_neutron_activator',

      K: 'mekanism:basic_universal_cable',
      L: 'mekanism:basic_control_circuit',
      M: 'mekanism:ultimate_sawing_factory',
      N: 'mekanism:ultimate_smelting_factory',
      O: 'mekanism:ultimate_crushing_factory',
      P: 'mekanism:pellet_polonium',
      Q: 'mekanism:atomic_disassembler',

      R: 'mekanism:advanced_universal_cable',
      S: 'mekanism:advanced_control_circuit',
      T: 'mekanism:ultimate_infusing_factory',
      U: 'mekanism:ultimate_enriching_factory',
      V: 'mekanism:ultimate_compressing_factory',
      W: 'mekanism:hdpe_pellet',
      X: 'mekanism:jetpack',

      Y: 'mekanism:elite_universal_cable',
      Z: 'mekanism:elite_control_circuit',
      a: 'mekanism:ultimate_injecting_factory',
      b: 'mekanism:ultimate_purifying_factory',
      c: 'mekanism:ultimate_combining_factory',
      d: 'mekanism:pellet_plutonium',
      e: 'mekanism:meka_tool',

      f: 'mekanism:ultimate_universal_cable',
      g: 'mekanism:ultimate_control_circuit',
      h: 'mekanismgenerators:fission_reactor_port',
      i: 'mekanism:pellet_antimatter',
      j: 'mekanism:flamethrower',

      k: 'mekanism:mekasuit_helmet',
      l: 'mekanism:mekasuit_bodyarmor',
      m: 'mekanism:cardboard_box',
      n: 'mekanism:mekasuit_pants',
      o: 'mekanism:mekasuit_boots',
      p: 'botania:rune_water'
    }
  )
  .id("souls:water_soul")


            event.recipes.extendedcrafting.shaped_table(
    "souls:gluttony_soul",
    [
      " AgggggB ",
      " gCDEFGg ",  
      " gHIJKLg ",
      " gMNOPQg ",
      " gRSTUVg ",
      " gWXYZag ",  
      " gbcdefg ",
      " BgggggA "  
    ],
    {
      A: 'thermal:rf_coil',
      B: 'thermal:redstone_servo',

      C: 'thermal:dynamo_lapidary',
      D: 'thermal:dynamo_stirling',
      E: 'thermal:dynamo_magmatic',
      F: 'thermal:dynamo_compression',
      G: 'thermal:dynamo_numismatic',

      H: 'thermal:device_tree_extractor',
      I: 'thermal:device_rock_gen',
      J: 'thermal:device_water_gen',
      K: 'thermal:device_collector',
      L: 'thermal:device_soil_infuser',

      M: 'thermal:machine_furnace',
      N: 'thermal:machine_brewer',
      O: 'thermal:machine_smelter',
      P: 'thermal:machine_crucible',
      Q: 'thermal:machine_pulverizer',

      R: 'thermal:machine_pyrolyzer',
      S: 'thermal:machine_sawmill',
      T: 'thermal:machine_crafter',
      U: 'thermal:machine_centrifuge',
      V: 'thermal:machine_bottler',

      W: 'thermal:machine_refinery',
      X: 'thermal:machine_chiller',
      Y: 'thermal:machine_crystallizer',
      Z: 'thermal:machine_insolator',
      a: 'thermal:machine_press',

      b: 'thermal:upgrade_augment_1',
      c: 'thermal:dynamo_disenchantment',
      d: 'thermal:upgrade_augment_2',
      e: 'thermal:dynamo_gourmand',
      f: 'thermal:upgrade_augment_3',
      g: 'botania:rune_gluttony'
    }
  )
  .id("souls:gluttony_soul")


              event.recipes.extendedcrafting.shaped_table(
    "souls:fire_soul",
    [
      "ZABBBBBAZ",
      "ZBCDEFGBZ",  
      "ZBHIJKLBZ",
      "ZBMNOPQBZ",
      "ZBRSTUVBZ",
      "ZABBBBBAZ"  
    ],
    {
      A: 'create:large_cogwheel',
      B: 'create:cogwheel',

      C: 'create:rotation_speed_controller',
      D: 'create:crushing_wheel',
      E: 'create:goggles',
      F: 'create:mechanical_crafter',
      G: 'create:wrench',

      H: 'create:precision_mechanism',
      I: 'create:cardboard',
      J: 'create:deployer',
      K: 'create:blaze_burner',
      L: 'create:steam_engine',

      M: 'create:mechanical_mixer',
      N: 'create:brass_ingot',
      O: 'create:mechanical_arm',
      P: 'create:flywheel',
      Q: 'create:mechanical_press',

      R: 'create:blaze_cake',
      S: 'create:chocolate_bucket',
      T: 'create:honeyed_apple',
      U: 'create:sweet_roll',
      V: 'create:chocolate_glazed_berries',
      Z: 'botania:rune_fire'
    }
  )
  .id("souls:fire_soul")


   event.recipes.extendedcrafting.shaped_table(
    "souls:lust_soul",
    [
      "BBBBBBBBB",
      "B AA AA B",  
      "BAAAAAAAB",
      "BAAAAAAAB",
      "B AAAAA B",
      "B  AAA  B",
      "B   A   B",
      "BBBBBBBBB"  
    ],
    {
      A: 'extendedcrafting:the_ultimate_ingot',
      B: 'botania:rune_lust',
    }
  )
  .id("souls:lust_soul")


   event.recipes.extendedcrafting.shaped_table(
    "souls:greed_soul",
    [
      "ABCDEFGHI",  
      "JKLMNOPQR",
      "STUVWXYZa",
      "bcdefghij",
      " klmnopq ",  
      "rrrrrrrrr",  
      "  rrrrr  ",
      "  rrrrr  ",
      "rrrrrrrrr"  
    ],
    {
      A: 'artifacts:superstitious_hat',
      B: 'artifacts:cowboy_hat',
      C: 'artifacts:charm_of_sinking',
      D: 'artifacts:thorn_pendant',
      E: 'artifacts:flame_pendant',
      F: 'artifacts:shock_pendant',
      G: 'artifacts:panic_necklace',
      H: 'artifacts:cross_necklace',
      I: 'artifacts:scarf_of_invisibility',

      J: 'artifacts:obsidian_skull',
      K: 'artifacts:antidote_vessel',
      L: 'artifacts:universal_attractor',
      M: 'artifacts:crystal_heart',
      N: 'artifacts:helium_flamingo',
      O: 'artifacts:chorus_totem',
      P: 'artifacts:digging_claws',
      Q: 'artifacts:feral_claws',
      R: 'artifacts:bunny_hoppers',

      S: 'artifacts:golden_hook',
      T: 'artifacts:vampiric_glove',
      U: 'artifacts:pocket_piston',
      V: 'artifacts:rooted_boots',
      W: 'artifacts:flippers',
      X: 'artifacts:steadfast_spikes',
      Y: 'artifacts:snowshoes',
      Z: 'artifacts:running_shoes',
      a: 'artifacts:kitty_slippers',

      b: 'artifacts:villager_hat',
      c: 'artifacts:night_vision_goggles',
      d: 'artifacts:snorkel',
      e: 'artifacts:novelty_drinking_hat',
      f: 'artifacts:plastic_drinking_hat',
      g: 'artifacts:eternal_steak',
      h: 'artifacts:umbrella',
      i: 'artifacts:whoopee_cushion',
      j: 'artifacts:power_glove',

      k: 'artifacts:onion_ring',
      l: 'artifacts:anglers_hat',
      m: 'artifacts:cloud_in_a_bottle',
      n: 'artifacts:lucky_scarf',
      o: 'artifacts:aqua_dashers',
      p: 'artifacts:pickaxe_heater',
      q: 'artifacts:fire_gauntlet',
      r: 'botania:rune_greed'
    }
  )
  .id("souls:greed_soul")


  event.recipes.extendedcrafting.shaped_table(
    "souls:air_soul",
    [
      "hhhhAhhhh",  
      "h   B   h",
      "hCDEFGHIh",
      "hJ KLM Nh",
      "hO PQR Sh",  
      "hT UVW Xh",  
      "hYZabcdeh",
      "h   f   h",
      "hhhhghhhh"
    ],
    {
      A: 'industrialforegoing:pink_slime_ingot',

      B: 'industrialforegoing:fluid_extractor',

      C: 'industrialforegoing:latex_bucket',
      D: 'industrialforegoing:mob_crusher',
      E: 'industrialforegoing:resourceful_furnace',
      F: 'industrialforegoing:laser_drill',
      G: 'industrialforegoing:sludge_refiner',
      H: 'industrialforegoing:plant_sower',
      I: 'industrialforegoing:meat_bucket',

      J: 'industrialforegoing:animal_baby_separator',
      K: 'industrialforegoing:block_placer',
      L: 'industrialforegoing:machine_frame_pity',
      M: 'industrialforegoing:block_breaker',
      N: 'industrialforegoing:plant_fertilizer',

      O: 'industrialforegoing:animal_feeder',
      P: 'industrialforegoing:machine_frame_advanced',
      Q: 'industrialforegoing:dissolution_chamber',
      R: 'industrialforegoing:machine_frame_supreme',
      S: 'industrialforegoing:sewage_composter',

      T: 'industrialforegoing:animal_rancher',
      U: 'industrialforegoing:ore_laser_base',
      V: 'industrialforegoing:machine_frame_simple',
      W: 'industrialforegoing:fluid_laser_base',
      X: 'industrialforegoing:sewer',

      Y: 'industrialforegoing:pink_slime_bucket',
      Z: 'industrialforegoing:mob_slaughter_factory',
      a: 'industrialforegoing:fluid_sieving_machine',
      b: 'industrialforegoing:washing_factory',
      c: 'industrialforegoing:fermentation_station',
      d: 'industrialforegoing:plant_gatherer',
      e: 'industrialforegoing:ether_gas_bucket',

      f: 'industrialforegoing:latex_processing_unit',

      g: 'industrialforegoing:plastic',
      h: 'botania:rune_air'
    }
  )
  .id("souls:air_soul")


  event.recipes.extendedcrafting.shaped_table(
    "extendedcrafting:the_ultimate_ingot",
    [
      "         ",  
      "         ",
      " ABCDEFG ",
      " HIJKLMN ",
      " OPQRSTU ",  
      " VWXYZab ",  
      " cdefghi ",
      " jklmnop ",
      "         "
    ],
    {
      A: 'minecraft:iron_ingot',
      B: 'minecraft:copper_ingot',
      C: 'minecraft:gold_ingot',
      D: 'minecraft:netherite_ingot',
      E: 'create:zinc_ingot',
      F: 'create:brass_ingot',
      G: 'bloodmagic:ingot_hellforged',

      H: 'botania:manasteel_ingot',
      I: 'botania:terrasteel_ingot',
      J: 'botania:elementium_ingot',
      K: 'botania:gaia_ingot',
      L: 'industrialforegoing:pink_slime_ingot',
      M: 'mekanism:ingot_refined_obsidian',
      N: 'mekanism:ingot_refined_glowstone',

      O: 'mekanism:ingot_osmium',
      P: 'mekanism:ingot_uranium',
      Q: 'naturesaura:infused_iron',
      R: 'naturesaura:tainted_gold',
      S: 'naturesaura:depth_ingot',
      T: 'thermal:tin_ingot',
      U: 'thermal:lead_ingot',

      V: 'thermal:silver_ingot',
      W: 'thermal:nickel_ingot',
      X: 'thermal:steel_ingot',
      Y: 'thermal:bronze_ingot',
      Z: 'thermal:electrum_ingot',
      a: 'thermal:invar_ingot',
      b: 'thermal:constantan_ingot',

      c: 'thermal:signalum_ingot',
      d: 'thermal:lumium_ingot',
      e: 'thermal:enderium_ingot',
      f: 'occultism:iesnium_ingot',
      g: 'forbidden_arcanus:deorum_ingot',
      h: 'forbidden_arcanus:obsidian_ingot',
      i: 'twilightforest:ironwood_ingot',

      j: 'cosmeticarmoursmod:rose_gold_ingot',
      k: 'alexscaves:scarlet_neodymium_ingot',
      l: 'alexscaves:azure_neodymium_ingot',
      m: 'extendedcrafting:black_iron_ingot',
      n: 'extendedcrafting:redstone_ingot',
      o: 'extendedcrafting:ender_ingot',
      p: 'extendedcrafting:crystaltine_ingot'
    }
  )
  .id("extendedcrafting:the_ultimate_ingot")

  event.recipes.extendedcrafting.shaped_table(
    "mcdj:record_menumusic",
    [
      'ABC',
      'DEF',
      'GHI'
    ],
    {
      A: 'souls:sloth_soul',
      B: 'souls:envy_soul',
      C: 'souls:greed_soul',
      D: 'souls:gluttony_soul',
      E: 'souls:lust_soul',
      F: 'souls:wrath_soul',
      G: 'souls:water_soul',
      H: 'souls:air_soul',
      I: 'souls:fire_soul'
    }
  )
  .id("mcdj:record_menumusic")


})
