// priority: 0

// Recipes to be removed, but not replaced, go here.
// If recipe is removed and replaced, it should go in the script with the recipe that replaces it.
const removeRecipesByID = [
  "create_dd:crafting/coal_piece_from_decompacting",
  "create_dd:crushing/scorchia_recycling",
  "create_dd:crushing/scorchia",
  "create_oppenheimered:enigmatic_engine",
  "create:crafting/kinetics/item_vault",
  "create:crafting/materials/brass_block_from_compacting",
  "create:crafting/materials/brass_ingot_from_compacting",
  "create:crafting/materials/brass_ingot_from_decompacting",
  "create:crafting/materials/brass_nugget_from_decompacting",
  "create:pressing/brass_ingot",
  "create:pressing/steel_ingot",
  "minecraft:string",
  "nethers_exoticism:jaboticaba_stick_recipe",
  "nethers_exoticism:ramboutans_stick_recipe",
  "powah:crafting/dielectric_paste_2",
  "powah:crafting/energy_cell_basic",
  "powah:energizing/blazing_crystal_2",
  "the_bumblezone:sugar_water_bucket", // Sugar Water Bucket (player must waterlog honey crystals instead)
  "the_bumblezone:honey_crystal_shield",
  "thermal:compat/create/press_create_brass_nugget_packing",
  "thermal:compat/create/press_create_brass_nugget_unpacking",
  "thermal:compat/create/press_create_brass_packing",
  "thermal:compat/create/press_create_brass_unpacking",
  "undergarden:undergarden_scaffolding",
  /^craftable_elytra_remastered:elytra_side_recipe*/,
  /^createoreexcavation:drilling\/.+/,
  /^createoreexcavation:extractor\/.+/,
  /^createoreexcavation:ore_vein_type*/,
  /^createsifter:sifting*/,
  /^minecraft:.*campfire$/,
  /^terralith:*/, // Stay in your lane, Terralith. You have no business making these recipes.
  /^thermal:.*spores$/,
  /^thermal:fire_charge.*/,
  /^warp_pipes:.*warp_pipe$/,
  'cavesanddepths:copperbuttonr',
  'nethers_exoticism:soul_glass_recipe',
  "create_vibrant_vaults:crafting/stock_ticker_from_vibrant_stock_links",
  "create_vibrant_vaults:crafting/factory_gauge_from_vibrant_stock_links",
  "mynethersdelight:crafting/stick_alt",
  "scguns:create/basalt_recycling",
  "scguns:create/sulfur_chunk_from_milling",
  "scguns:create/raw_phosphor_from_milling",
  /^scguns.*gun_frame/,
  /^scguns.*gun_parts/,
  /^scguns.*firing_unit/,
  "scguns:gun_barrel",
  "scguns:heavy_gun_barrel",
  "scguns:extended_barrel",
  /^scguns.*gun_frame/,
  "scguns:gun_magazine",
  /^scguns.*sight/,
  /^scguns.*scope/,
  /^scguns.*stock/,
  /^scguns.*silencer/,
  "scguns:light_grip",
  "scguns:vertical_grip",
  "scguns:extended_mag",
  "scguns:speed_mag",
  "scguns:muzzle_brake",
  /^scguns.*casing_mold/,
  "scguns:bullet_mold",
  /^create_mechanical_spawner:mixing\/spawn_fluid_.*/
];

const removeRecipesByInput = [
  /^thermal:.*ore$/,
  "powah:uraninite_raw",
  /^powah:.*uraninite_ore.*/,
];

const removeRecipesByOutput = [
  "the_bumblezone:stinger_spear",
  'bca:boiled_axolotl'
  // this works if we need it
];

const removeRecipesByMod = ["moa_decor_toys"];

ServerEvents.recipes((event) => {
  removeRecipesByID.forEach((id) => {
    event.remove({ id: `${id}` });
  });

  removeRecipesByInput.forEach((input) => {
    event.remove({ input: `${input}` });
  });

  removeRecipesByOutput.forEach((output) => {
    event.remove({ output: `${output}` });
  });

  removeRecipesByMod.forEach((mod) => {
    event.remove({ mod: `${mod}` });
  });

  global.hideRemoveJEI.forEach((item) => {
    event.remove({ output: `${item}` });
    // event.remove({ input: `${item}` });
  });
});
