// priority: 0

// Visit the wiki for more info - https://kubejs.com/

// made by blueversal

ServerEvents.recipes(event => {
    event.remove({ id: 'alexscaves:dreadbow' })
    event.remove({ id: 'celestisynth:crimson_piece' })
    event.remove({ id: 'born_in_chaos_v1:nightmare_scythe' })
    event.remove({ id: 'create_sa:brass_drill_head' })
    event.remove({ id: 'witherstormmod:formidibomb' })
    event.remove({ id: 'eeeabsmobs:ghost_warrior_helmet' })
    event.remove({ id: 'eeeabsmobs:ghost_warrior_chestplate' })
    event.remove({ id: 'eeeabsmobs:ghost_warrior_leggings' })
    event.remove({ id: 'eeeabsmobs:ghost_warrior_boots' })
    event.remove({ id: 'celestisynth:celestial_core_dupe' })
    event.remove({ id: 'upgrade_aquatic:tooth_door' })
    event.remove({ id: 'upgrade_aquatic:tooth_trapdoor' })
    event.remove({ id: 'upgrade_aquatic:tooth_lantern' })
    event.remove({ id: 'upgrade_aquatic:tooth_bricks' })
    event.remove({ id: 'upgrade_aquatic:tooth_block' })
    event.remove({ id: 'celestisynth:lunar_stone_helmet' })
    event.remove({ id: 'celestisynth:lunar_stone_chestplate' })
    event.remove({ id: 'celestisynth:lunar_stone_leggings' })
    event.remove({ id: 'celestisynth:lunar_stone_boots' })
    event.remove({ id: 'alexscaves_torpedoes:tectonic_helmet_recipe' })
    event.remove({ id: 'alexscaves_torpedoes:tectonic_chestplate_recipe' })
    event.remove({ id: 'alexscaves_torpedoes:tectonic_leggings_recipe' })
    event.remove({ id: 'alexscaves_torpedoes:tectonic_boots_recipe' })
    event.remove({ id: 'toms_storage:adv_wireless_terminal' })
    event.remove({ id: 'enchantinginfuser:advanced_enchanting_infuser' })
    event.remove({ id: 'celestisynth:starlit_factory' })
    event.remove({ id: 'alexsmobs:hemolymph_blaster' })
    event.remove({ id: 'blazegear:brimsteel_helmet' })
    event.remove({ id: 'blazegear:brimsteel_chestplate' })
    event.remove({ id: 'blazegear:brimsteel_leggings' })
    event.remove({ id: 'blazegear:brimsteel_boots' })
    event.remove({ id: 'waystones:blackstone_waystone' })
    event.remove({ id: 'waystones:deepslate_waystone' })
    event.remove({ id: 'waystones:end_stone_waystone' })
    event.remove({ id: 'taxtg:recipe_oak' })
    event.remove({ id: 'taxtg:recipe_jungle' })
    event.remove({ id: 'taxtg:recipe_spruce' })
    event.remove({ id: 'taxtg:recipe_cherryblossom' })
    event.remove({ id: 'taxtg:recipe_birch' })
    event.remove({ id: 'taxtg:recipe_palm' })
    event.remove({ id: 'taxtg:recipe_pine' })
    event.remove({ id: 'taxtg:recipe_snowy' })
    event.remove({ id: 'taxtg:recipe_yellow' })
    event.remove({ id: 'legendary_monsters:annihilator_helmet' })
    event.remove({ id: 'legendary_monsters:annihilator_chestplate' })
    event.remove({ id: 'legendary_monsters:annihilator_leggings' })
    event.remove({ id: 'legendary_monsters:annihilator_boots' })
    event.remove({ id: 'royalvariations:royal_knight_helmet_smithing' })
    event.remove({ id: 'royalvariations:royal_knight_cuirass_smithing' })
    event.remove({ id: 'royalvariations:royal_knight_leggings_smithing' })
    event.remove({ id: 'royalvariations:royal_knight_boots_smithing' })
    event.remove({ id: 'minecraft:lodestone' })
    event.remove({ id: 'create:crushing/scrap_lodestone' })
    event.remove({ id: 'create:crushing/iron/scrap_bucket_lava' })
    event.remove({ id: 'bosses_of_mass_destruction:levitation_block' })
    event.remove({ id: 'caverns_and_chasms:trim_modifier_smithing_template_smithing_faded' })
    event.remove({ id: 'caverns_and_chasms:trim_modifier_smithing_template_smithing_pulse' })
    event.remove({ id: 'caverns_and_chasms:trim_modifier_smithing_template_smithing_emissive' })
});

ServerEvents.recipes(event => {
    event.shaped('minecraft:lodestone', [
      'eee',
      'eEe',
      'eee'
    ], {
      E: 'minecraft:netherite_ingot',
      e: 'minecraft:chiseled_stone_bricks' 
    });
  });

ServerEvents.recipes(event => {
    event.shaped('alexscaves:dreadbow', [
      ' E ',
      'cCc',
      'eee'
    ], {
      c: 'alexscaves:vesper_wing',  
      C: 'ender_dragon_loot:dragon_scale',
      E: 'alexscaves:pure_darkness',
      e: 'alexscaves:shadow_silk',       
    });
  });

ServerEvents.recipes(event => {
    event.shaped('born_in_chaos_v1:nightmare_scythe', [
      'CCE',
      '  c',
      ' c '
    ], {
      E: 'born_in_chaos_v1:dark_metal_block',
      c: 'born_in_chaos_v1:bone_handle',  
      C: 'born_in_chaos_v1:nightmare_claw',
    });
  });

ServerEvents.recipes(event => {
    event.shaped('celestisynth:crimson_piece', [
      'abc',
      'ABC',
      'zxy'
    ], {
      a: 'deeperdarker:reinforced_echo_shard',
      b: 'alexscaves:pure_darkness',
      c: 'alexscaves:tectonic_shard',
      A: 'cataclysm:cursium_ingot',
      B: 'minecraft:nether_star',
      C: 'cataclysm:ignitium_ingot',
      z: 'celestisynth:celestial_netherite_ingot',
      x: 'eeeabsmobs:ancient_drive_crystal',
      y: 'cataclysm:witherite_ingot',
    });
  });

ServerEvents.recipes(event => {
    event.shaped('create_sa:brass_drill_head', [
      'cCc',
      'CEC',
      'cCc'
    ], {
      E: 'undergarden:forgotten_ingot',
      C: 'create:andesite_alloy',
      c: 'create:brass_ingot',
    });
});

ServerEvents.recipes(event => {
    event.shaped('witherstormmod:formidibomb', [
      'cCc',
      'CEC',
      'cCc'
    ], {
      E: 'witherstormmod:super_tnt',
      C: 'alexsmobs:farseer_arm',
      c: 'alexscaves:nuclear_bomb',
    });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_door', [
    'ee ',
    'ee ',
    'ee '
  ], {
    e: 'alexsmobs:cachalot_whale_tooth'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_door', [
    'ee ',
    'ee ',
    'ee '
  ], {
    e: 'alexsmobs:shark_tooth'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_trapdoor', [
    'ee ',
    'ee ',
    '   '
  ], {
    e: 'alexsmobs:cachalot_whale_tooth'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_trapdoor', [
    'ee ',
    'ee ',
    '   '
  ], {
    e: 'alexsmobs:shark_tooth'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_lantern', [
    ' e ',
    ' a ',
    ' e '
  ], {
    e: 'alexsmobs:cachalot_whale_tooth',
    a: 'minecraft:prismarine_crystals'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_lantern', [
    ' e ',
    ' a ',
    ' e '
  ], {
    e: 'alexsmobs:shark_tooth',
    a: 'minecraft:prismarine_crystals'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_bricks', [
    'aaa',
    'aea',
    'aaa'
  ], {
    e: 'alexsmobs:cachalot_whale_tooth',
    a: 'minecraft:stone_bricks'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_bricks', [
    'aaa',
    'aea',
    'aaa'
  ], {
    e: 'alexsmobs:shark_tooth',
    a: 'minecraft:stone_bricks'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_block', [
    'eee',
    'eee',
    'eee'
  ], {
    e: 'alexsmobs:cachalot_whale_tooth'
  });
});

ServerEvents.recipes(event => {
  event.shaped('upgrade_aquatic:tooth_block', [
    'eee',
    'eee',
    'eee'
  ], {
    e: 'alexsmobs:shark_tooth'
  });
});

ServerEvents.recipes(event => {
  event.shaped('happyghastmod:ghastling_incubator', [
    'EEE',
    'EeE',
    'EEE'
  ], {
    e: 'minecraft:bone_block',
    E: 'minecraft:ghast_tear'
  });
});

ServerEvents.recipes(event => {
  event.shaped('celestisynth:lunar_stone_helmet', [
    '   ',
    'EEE',
    'EeE'
  ], {
    e: 'celestisynth:solar_crystal_helmet',
    E: 'celestisynth:lunar_stone'
  });
});

ServerEvents.recipes(event => {
  event.shaped('celestisynth:lunar_stone_chestplate', [
    'E E',
    'EeE',
    'EEE'
  ], {
    e: 'celestisynth:solar_crystal_chestplate',
    E: 'celestisynth:lunar_stone'
  });
});

ServerEvents.recipes(event => {
  event.shaped('celestisynth:lunar_stone_leggings', [
    'EeE',
    'E E',
    'E E'
  ], {
    e: 'celestisynth:solar_crystal_leggings',
    E: 'celestisynth:lunar_stone'
  });
});

ServerEvents.recipes(event => {
  event.shaped('celestisynth:lunar_stone_boots', [
    '   ',
    'E E',
    'EeE'
  ], {
    e: 'celestisynth:solar_crystal_boots',
    E: 'celestisynth:lunar_stone'
  });
});

ServerEvents.recipes(event => {
    event.shaped('celestisynth:starlit_factory', [
      'XWX',
      'zxy',
      'ccc'
    ], {
      c: 'minecraft:obsidian',  
      X: 'celestisynth:celestial_netherite_ingot',
      W: 'deeperdarker:warden_carapace',
      z: 'minecraft:smithing_table',
      x: 'minecraft:crafting_table',
      y: 'minecraft:blast_furnace',
    });
});

ServerEvents.recipes(event => {
  event.shaped('alexscaves_torpedoes:tectonic_helmet', [
    '   ',
    'EEE',
    'EeE'
  ], {
    e: 'undergarden:utherium_helmet',
    E: 'alexscaves:tectonic_shard'
  });
});

ServerEvents.recipes(event => {
  event.shaped('alexscaves_torpedoes:tectonic_chestplate', [
    'E E',
    'EeE',
    'EEE'
  ], {
    e: 'undergarden:utherium_chestplate',
    E: 'alexscaves:tectonic_shard'
  });
});

ServerEvents.recipes(event => {
  event.shaped('alexscaves_torpedoes:tectonic_leggings', [
    'EeE',
    'E E',
    'E E'
  ], {
    e: 'undergarden:utherium_leggings',
    E: 'alexscaves:tectonic_shard'
  });
});

ServerEvents.recipes(event => {
  event.shaped('alexscaves_torpedoes:tectonic_boots', [
    '   ',
    'E E',
    'EeE'
  ], {
    e: 'undergarden:utherium_boots',
    E: 'alexscaves:tectonic_shard'
  });
});

ServerEvents.recipes(event => {
  event.shaped('blazegear:brimsteel_helmet', [
    '   ',
    'EEE',
    'EeE'
  ], {
    e: 'additionaladditions:rose_gold_helmet',
    E: 'blazegear:brimsteel_ingot'
  });
});

ServerEvents.recipes(event => {
  event.shaped('blazegear:brimsteel_chestplate', [
    'E E',
    'EeE',
    'EEE'
  ], {
    e: 'additionaladditions:rose_gold_chestplate',
    E: 'blazegear:brimsteel_ingot'
  });
});

ServerEvents.recipes(event => {
  event.shaped('blazegear:brimsteel_leggings', [
    'EeE',
    'E E',
    'E E'
  ], {
    e: 'additionaladditions:rose_gold_leggings',
    E: 'blazegear:brimsteel_ingot'
  });
});

ServerEvents.recipes(event => {
  event.shaped('blazegear:brimsteel_boots', [
    '   ',
    'E E',
    'EeE'
  ], {
    e: 'additionaladditions:rose_gold_boots',
    E: 'blazegear:brimsteel_ingot'
  });
});

ServerEvents.recipes(event => { 
                                                                                                                                                                                        // made by blueversal
  event.shaped('enchantinginfuser:advanced_enchanting_infuser', [
      ' B ',
      'NSN',
      'CEC'
  ], {
      B: 'minecraft:book',         
      N: 'minecraft:netherite_ingot',         
      S: 'minecraft:nether_star',       
      C: 'minecraft:lodestone',
      E: 'enchantinginfuser:enchanting_infuser',
  });
});

ServerEvents.recipes(event => {
  event.shaped('minecraft:saddle', [
    ' e ',
    'eEe',
    '   '
  ], {
    e: 'minecraft:leather',
    E: 'minecraft:iron_ingot'
  });
});

ServerEvents.recipes(event => {
  event.shaped('waystones:blackstone_waystone', [
    ' e ',
    'eEe',
    ' e '
  ], {
    e: 'minecraft:blackstone',
    E: 'waystones:waystone'
  });
});

ServerEvents.recipes(event => {
  event.shaped('waystones:deepslate_waystone', [
    ' e ',
    'eEe',
    ' e '
  ], {
    e: 'minecraft:deepslate',
    E: 'waystones:waystone'
  });
});

ServerEvents.recipes(event => {
  event.shaped('waystones:end_stone_waystone', [
    ' e ',
    'eEe',
    ' e '
  ], {
    e: 'minecraft:end_stone',
    E: 'waystones:waystone'
  });
});

ServerEvents.recipes(event => {
  event.shaped('alexsmobs:hemolymph_blaster', [
    'eee',
    'Eab',
    'c  '
  ], {
    e: 'alexsmobs:hemolymph_sac',
    E: 'deeperdarker:soul_dust',
    a: 'alexsmobs:blood_sprayer',
    b: 'alexsmobs:mosquito_proboscis',
    c: 'alexsmobs:warped_muscle'
  });
});

ServerEvents.recipes(event => {
  event.shaped('bosses_of_mass_destruction:levitation_block', [
    'abc',
    'ded',
    'opo'
  ], {
    a: 'cataclysm:cursium_ingot',
    b: 'bosses_of_mass_destruction:ancient_anima',
    c: 'cataclysm:ignitium_ingot',
    d: 'cataclysm:lacrima',
    e: 'bosses_of_mass_destruction:blazing_eye',
    o: 'minecraft:crying_obsidian',
    p: 'royalvariations:royal_ender_pearl',
  });
});

ServerEvents.recipes(event => {
    event.smithing(
      'toms_storage:ts.adv_wireless_terminal',
      'deeperdarker:warden_upgrade_smithing_template',
      'toms_storage:ts.wireless_terminal',
      'deeperdarker:sculk_transmitter'
    );
});

ServerEvents.recipes(event => {
    event.smithing(
      'eeeabsmobs:ghost_warrior_helmet',
      'eeeabsmobs:ghost_warrior_upgrade_smithing_template',
      'voidscape:astral_helmet',
      'eeeabsmobs:ghost_steel_ingot'
    );
});

ServerEvents.recipes(event => {
    event.smithing(
      'eeeabsmobs:ghost_warrior_chestplate',
      'eeeabsmobs:ghost_warrior_upgrade_smithing_template',
      'voidscape:astral_chest',
      'eeeabsmobs:ghost_steel_ingot'
    );
});

ServerEvents.recipes(event => {
      event.smithing(
        'eeeabsmobs:ghost_warrior_leggings',
        'eeeabsmobs:ghost_warrior_upgrade_smithing_template',
        'voidscape:astral_legs',
        'eeeabsmobs:ghost_steel_ingot'
      );
});

ServerEvents.recipes(event => {
    event.smithing(
      'eeeabsmobs:ghost_warrior_boots',
      'eeeabsmobs:ghost_warrior_upgrade_smithing_template',
      'voidscape:astral_boots',
      'eeeabsmobs:ghost_steel_ingot'
    );
});

ServerEvents.recipes(event => {
  event.smithing(
    'legendary_monsters:annihilator_helmet',
    'legendary_monsters:annihilator_upgrade_smithing_template',
    'caverns_and_chasms:necromium_helmet',
    'legendary_monsters:portal_shard'
  )
  event.smithing(
    'legendary_monsters:annihilator_chestplate',
    'legendary_monsters:annihilator_upgrade_smithing_template',
    'caverns_and_chasms:necromium_chestplate',
    'legendary_monsters:portal_shard'
  )
  event.smithing(
    'legendary_monsters:annihilator_leggings',
    'legendary_monsters:annihilator_upgrade_smithing_template',
    'caverns_and_chasms:necromium_leggings',
    'legendary_monsters:portal_shard'
  )
  event.smithing(
    'legendary_monsters:annihilator_boots',
    'legendary_monsters:annihilator_upgrade_smithing_template',
    'caverns_and_chasms:necromium_boots',
    'legendary_monsters:portal_shard'
  )
})

ServerEvents.recipes(event => {
  event.smithing(
    'royalvariations:royal_knight_helmet',
    'royalvariations:royal_upgrade_smithing_template',
    'galosphere:sterling_helmet',
    'royalvariations:royal_armor_fragments'
  )
  event.smithing(
    'royalvariations:royal_knight_cuirass',
    'royalvariations:royal_upgrade_smithing_template',
    'galosphere:sterling_chestplate',
    'royalvariations:royal_armor_fragments'
  )
  event.smithing(
    'royalvariations:royal_knight_leggings',
    'royalvariations:royal_upgrade_smithing_template',
    'galosphere:sterling_leggings',
    'royalvariations:royal_armor_fragments'
  )
  event.smithing(
    'royalvariations:royal_knight_boots',
    'royalvariations:royal_upgrade_smithing_template',
    'galosphere:sterling_boots',
    'royalvariations:royal_armor_fragments'
  )
})

ServerEvents.recipes(event => {
  event.recipes.create.crushing(
    [
      Item.of('minecraft:cobblestone', 4),
      Item.of('create_crush_everything:netherite_shard', 1).withChance(0.05)
    ],
    'minecraft:lodestone'
  )
})