ServerEvents.recipes((event) => {
  // List of recipe IDs to remove
  const recipesToRemove = [
    //components
    "minecraft:components/basic_component", //lvl 1
    "minecraft:components/reinforced_component", //lvl 3
    "minecraft:components/logic_component", //lvl 4
    "minecraft:components/advanced_component", //lvl 5
    "minecraft:components/refined_component", //lvl 6
    "minecraft:components/integral_component", //lvl 7
    "minecraft:components/infinity_component", //lvl 8
    "minecraft:components/ancestral_component", //lvl 9
  ];

  // Loop through the list and remove each recipe
  recipesToRemove.forEach((recipeId) => {
    event.remove({ id: recipeId });
  });
});
