// 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_confectionery:black_chocolate_recipe_6",
  "create_confectionery:chocolate_recipe_6",
  "create_confectionery:ruby_chocolate_recipe_6",
  "create_confectionery:white_chocolate_recipe_6",
  "create_dd:crafting/coal_piece_from_decompacting",
  "create_dd:crushing/scorchia_recycling",
  "create_dd:crushing/scorchia",
  "create_oppenheimered:enigmatic_engine",
  "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",
  "createaddition:liquid_burning/lava",
  "minecraft:stick",
  "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)
  "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",
  /^craftable_elytra_remastered:elytra_side_recipe*/,
  /^createoreexcavation:drilling\/.+/,
  /^createoreexcavation:extractor\/.+/,
  /^createoreexcavation:ore_vein_type*/,
  /^createsifter:sifting*/,
  /^minecraft:.*campfire$/,
  /^thermal:.*spores$/,
  /^thermal:fire_charge.*/,
  /^warp_pipes:.*warp_pipe$/,
  'cavesanddepths:copperbuttonr',
  'nethers_exoticism:soul_glass_recipe'
];

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

const removeRecipesByOutput = [
  // 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}` });
  });
});
