ServerEvents.recipes((event) => {
  const potsToRemove = [
    "terracotta_botany_pot",
    "terracotta_hopper_botany_pot",
    "white_terracotta_botany_pot",
    "white_terracotta_hopper_botany_pot",
    "white_concrete_botany_pot",
    "white_concrete_hopper_botany_pot",
    "white_glazed_terracotta_botany_pot",
    "white_glazed_terracotta_hopper_botany_pot",
    "orange_terracotta_botany_pot",
    "orange_terracotta_hopper_botany_pot",
    "orange_concrete_botany_pot",
    "orange_concrete_hopper_botany_pot",
    "orange_glazed_terracotta_botany_pot",
    "orange_glazed_terracotta_hopper_botany_pot",
    "magenta_terracotta_botany_pot",
    "magenta_terracotta_hopper_botany_pot",
    "magenta_concrete_botany_pot",
    "magenta_concrete_hopper_botany_pot",
    "magenta_glazed_terracotta_botany_pot",
    "magenta_glazed_terracotta_hopper_botany_pot",
    "light_blue_terracotta_botany_pot",
    "light_blue_terracotta_hopper_botany_pot",
    "light_blue_concrete_botany_pot",
    "light_blue_concrete_hopper_botany_pot",
    "light_blue_glazed_terracotta_botany_pot",
    "light_blue_glazed_terracotta_hopper_botany_pot",
    "yellow_terracotta_botany_pot",
    "yellow_terracotta_hopper_botany_pot",
    "yellow_concrete_botany_pot",
    "yellow_concrete_hopper_botany_pot",
    "yellow_glazed_terracotta_botany_pot",
    "yellow_glazed_terracotta_hopper_botany_pot",
    "lime_terracotta_botany_pot",
    "lime_terracotta_hopper_botany_pot",
    "lime_concrete_botany_pot",
    "lime_concrete_hopper_botany_pot",
    "lime_glazed_terracotta_botany_pot",
    "lime_glazed_terracotta_hopper_botany_pot",
    "pink_terracotta_botany_pot",
    "pink_terracotta_hopper_botany_pot",
    "pink_concrete_botany_pot",
    "pink_concrete_hopper_botany_pot",
    "pink_glazed_terracotta_botany_pot",
    "pink_glazed_terracotta_hopper_botany_pot",
    "gray_terracotta_botany_pot",
    "gray_terracotta_hopper_botany_pot",
    "gray_concrete_botany_pot",
    "gray_concrete_hopper_botany_pot",
    "gray_glazed_terracotta_botany_pot",
    "gray_glazed_terracotta_hopper_botany_pot",
    "light_gray_terracotta_botany_pot",
    "light_gray_terracotta_hopper_botany_pot",
    "light_gray_concrete_botany_pot",
    "light_gray_concrete_hopper_botany_pot",
    "light_gray_glazed_terracotta_botany_pot",
    "light_gray_glazed_terracotta_hopper_botany_pot",
    "cyan_terracotta_botany_pot",
    "cyan_terracotta_hopper_botany_pot",
    "cyan_concrete_botany_pot",
    "cyan_concrete_hopper_botany_pot",
    "cyan_glazed_terracotta_botany_pot",
    "cyan_glazed_terracotta_hopper_botany_pot",
    "purple_terracotta_botany_pot",
    "purple_terracotta_hopper_botany_pot",
    "purple_concrete_botany_pot",
    "purple_concrete_hopper_botany_pot",
    "purple_glazed_terracotta_botany_pot",
    "purple_glazed_terracotta_hopper_botany_pot",
    "blue_terracotta_botany_pot",
    "blue_terracotta_hopper_botany_pot",
    "blue_concrete_botany_pot",
    "blue_concrete_hopper_botany_pot",
    "blue_glazed_terracotta_botany_pot",
    "blue_glazed_terracotta_hopper_botany_pot",
    "brown_terracotta_botany_pot",
    "brown_terracotta_hopper_botany_pot",
    "brown_concrete_botany_pot",
    "brown_concrete_hopper_botany_pot",
    "brown_glazed_terracotta_botany_pot",
    "brown_glazed_terracotta_hopper_botany_pot",
    "green_terracotta_botany_pot",
    "green_terracotta_hopper_botany_pot",
    "green_concrete_botany_pot",
    "green_concrete_hopper_botany_pot",
    "green_glazed_terracotta_botany_pot",
    "green_glazed_terracotta_hopper_botany_pot",
    "red_terracotta_botany_pot",
    "red_terracotta_hopper_botany_pot",
    "red_concrete_botany_pot",
    "red_concrete_hopper_botany_pot",
    "red_glazed_terracotta_botany_pot",
    "red_glazed_terracotta_hopper_botany_pot",
    "black_terracotta_botany_pot",
    "black_terracotta_hopper_botany_pot",
    "black_concrete_botany_pot",
    "black_concrete_hopper_botany_pot",
    "black_glazed_terracotta_botany_pot",
    "black_glazed_terracotta_hopper_botany_pot",
  ];

  potsToRemove.forEach((pot) => {
    // Remove normal recipe
    event.remove({ id: `botanypots:botanypots/crafting/${pot}` });

    // Remove compact recipes if they exist
    event.remove({
      id: `botanypots:botanypots/crafting/${pot.replace(
        "botany_pot",
        "compact_hopper_botany_pot"
      )}`,
    });
    event.remove({
      id: `botanypots:botanypots/crafting/${pot.replace(
        "hopper_botany_pot",
        "compact_hopper_botany_pot"
      )}`,
    });
  });
  // Remove tiers
  event.remove({ mod: "botanypotstiers" });
});
