events.listen("recipes", function (e) {
  e.custom({
    type: "extendedcrafting:shaped_table",
    tier: 1,
    pattern: ["CAC", "BDB", "CEC"],
    key: {
      A: { item: "simplyjetpacks:jetpack_vanilla4_armored" },
      B: { item: "mekanism:teleportation_core" },
      C: { item: "simplyjetpacks:thruster_te5" },
      D: { item: "mekanism:pellet_polonium" },
      E: { item: "mekanism:jetpack_armored" },
    },
    result: { item: "simplyjetpacks:jetpack_te5", count: 1 },
  });

  // craft diamand ring pour angel ring

  e.custom({
    type: "extendedcrafting:shaped_table",
    tier: 2,
    pattern: ["DEEED", "FABAF", "FBCBF", "FABAF", "DEEED"],
    key: {
      A: { item: "botania:mana_diamond_block" },
      B: { item: "minecraft:nether_star" },
      C: { item: "simplyjetpacks:jetpack_te5" },
      D: { item: "minecraft:elytra" },
      E: { item: "betterendforge:thallasium_ingot" },
      F: { item: "betterendforge:terminite_ingot" },
    },
    result: { item: "angelring:itemdiamondring", count: 1 },
  });

  //craft thruster flux
  e.custom({
    type: "create:mechanical_crafting",

    pattern: [" A ", "ABA", "CDC"],
    key: {
      A: { item: "bigreactors:yellorium_block" },
      B: { item: "mekanism:advanced_induction_cell" },
      C: { item: "extendedcrafting:redstone_ingot" },
      D: { item: "simplyjetpacks:thruster_vanilla4" },
    },
    result: { item: "simplyjetpacks:thruster_te5", count: 1 },
  });
  //craft glass reacteur

  e.custom({
    type: "create:mechanical_crafting",

    pattern: ["ACA", "CBC", "ACA"],
    key: {
      A: { item: "mekanism:enriched_iron" },
      B: { item: "mekanism:structural_glass" },
      C: { tag: "mekanism:crystals/lead" },
    },
    result: { item: "mekanismgenerators:reactor_glass", count: 1 },
  });
  //craft mur reacteur
});
