// priority: 0
// made by odin

ServerEvents.recipes(event => {
  var removeById = [
    'morerelics:made_in_heaven',
    'morerelics:king_crimson',
    'terramity:prismatic_jewel',
    'enigmaticlegacy:the_cube',
    'lethality:starlight',
    'lethality:nightfall',
    'armageddon_mod:bloody_scythe',
    'tiered:galena_chunk',
    'brutality:gluttony',
    'lethality:nightmare_sword',
    'lethality:gaels_greatsword',
    'brutality:royal_guardian_sword',
    'tiered:pyrite_chunk',
    'celestisynth:solaris',
    'celestisynth:poltergeist',
    'celestisynth:aquaflora',
    'celestisynth:rainfall_serenity',
    'celestisynth:frostbound',
    'celestisynth:keres',
    'celestisynth:crescentia',
    'celestisynth:breezebreaker'
  ]
  removeById.forEach(function(recipeId) {
    event.remove({ id: recipeId })
  })

  var removeByOutput = [
    'enigmaticlegacy:the_cube',
    'ancient_elements:aeonite_helmet',
    'ancient_elements:aeonite_chestplate',
    'ancient_elements:aeonite_leggings',
    'ancient_elements:aeonite_boots',
    'lethality:vehemence',
    'terramity:prismatic_jewel',
    'lethality:violence',
    'lethality:hf_meowrasama',
    'terramity:sacred_speed_bracelets',
    'brutality:blade_of_the_ruined_king',
    'lethality:real_knife',
    'explorerscompass:explorerscompass',
    'enigmaticlegacy:enigmatic_elytra',
    'enigmaticaddons:etherium_core',
    'tiered:galena_chunk',
    'brutality:gluttony',
    'tiered:pyrite_chunk',
    'celestisynth:solaris',
    'celestisynth:poltergeist',
    'celestisynth:aquaflora',
    'celestisynth:rainfall_serenity',
    'celestisynth:frostbound',
    'celestisynth:keres',
    'celestisynth:crescentia',
    'celestisynth:breezebreaker'
  ]
  removeByOutput.forEach(function(item) {
    event.remove({ output: item })
  })

  event.shaped('morerelics:made_in_heaven', [
    'abb',
    'cdc',
    'bba'
  ], {
    a: 'cataclysm:ignitium_ingot',
    b: 'minecraft:nether_star',
    c: 'ancient_elements:alloy_of_elements',
    d: 'forbidden_arcanus:dark_nether_star'
  })

  event.shaped('morerelics:king_crimson', [
    'abc',
    'def',
    ' h '
  ], {
    a: 'terramity:hellspec_alloy',
    b: 'armageddon_mod:bloody_block',
    c: 'terramity:hellspec_alloy',
    d: 'armageddon_mod:bloody_block',
    e: 'kubejs:black_crimson',
    f: 'armageddon_mod:bloody_block',
    h: 'terramity:hellspec_alloy'
  })

  event.shaped(
    Item.of('enigmaticaddons:etherium_core'),
    [
      'ABA',
      'CDE',
      'AFA'
    ], {
      A: 'enigmaticlegacy:ender_rod',
      B: 'ancient_elements:spectrillium_ingot',
      C: 'enigmaticlegacy:etherium_chestplate',
      D: 'enigmaticlegacy:golem_heart',
      E: 'enigmaticlegacy:etherium_leggings',
      F: 'composite_material:etherite_ingot'
    }
  )
})
