ServerEvents.recipes((event) => {
  function essenceCircle(result, essenceType) {
    event
      .shaped(result, ["aaa", "a a", "aaa"], {
        a: `mysticalagriculture:${essenceType}_essence`,
      })
      .id(`kubejs:mysticalagriculture/${essenceType}_essence_crafting`);
  }
  essenceCircle("mysticalagriculture:prudentium_essence", "prudentium_crop");
  essenceCircle("mysticalagriculture:awakened_supremium_essence", "awakened_supremium_crop");
  essenceCircle("mysticalagriculture:imperium_essence", "imperium_crop");
  essenceCircle("infinity_nexus_mod:infinity_dust", "infinity_crop");
  essenceCircle("mysticalagradditions:insanium_essence", "insanium_crop");
  essenceCircle("mysticalagriculture:supremium_essence", "supremium_crop");
  essenceCircle("mysticalagriculture:tertium_essence", "tertium_crop");
  

  // Função para criar a receita de infusion seed crafting
  function seedCrafting(
    output,
    middle,
    item1,
    item2,
    item3,
    item4,
    item5,
    item6,
    item7,
    item8
  ) {
    event
      .custom({
        type: "mysticalagriculture:infusion",
        input: { item: middle },
        ingredients: [
          { item: item1 },
          { item: item2 },
          { item: item3 },
          { item: item4 },
          { item: item5 },
          { item: item6 },
          { item: item7 },
          { item: item8 },
        ],
        result: { item: output },
      })
      .id(`infinitynexus:${output.replace(":", "/")}/infusion`);
  }

  // Infinity seed crafting
  let infinityMiddle = "infinity_nexus_mod:infinity_singularity";
  let infinityItem1 = "mysticalagriculture:awakened_supremium_block";
  let infinityItem2 = "mysticalagradditions:creative_essence";

  seedCrafting(
    "mysticalagriculture:infinity_crop_seeds",
    infinityMiddle,
    infinityItem1,
    infinityItem2,
    infinityItem1,
    infinityItem2,
    infinityItem1,
    infinityItem2,
    infinityItem1,
    infinityItem2
  );

  // Definir os itens necessários para o craft da semente Prudentium
  let prudentiumMiddle = "mysticalagriculture:inferium_seeds"; // Item central
  let awakened_supremiumItem1 = "mysticalagriculture:awakened_supremium_block"; // Primeiro item ao redor
  let creative_essenceItem2 = "mysticalagradditions:creative_essence"; // Segundo item ao redor

  // prudentium seed crafting
  seedCrafting(
    "mysticalagriculture:prudentium_crop_seeds", // Semente a ser criada
    prudentiumMiddle, // Item central
    awakened_supremiumItem1,
    creative_essenceItem2, // Itens ao redor
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2
  );

  //tertium seed crafting

  let tertiumMiddle = "mysticalagriculture:prudentium_crop_seeds"; // Item central

  seedCrafting(
    "mysticalagriculture:tertium_crop_seeds", // Semente a ser criada
    tertiumMiddle, // Item central
    awakened_supremiumItem1,
    creative_essenceItem2, // Itens ao redor
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2
  );

  //imperium seed crafting

  let imperiumMiddle = "mysticalagriculture:tertium_crop_seeds"; // Item central

  seedCrafting(
    "mysticalagriculture:imperium_crop_seeds",
    imperiumMiddle, // Semente a ser criada
    awakened_supremiumItem1,
    creative_essenceItem2, // Itens ao redor
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2
  );

  //supremium seed crafting

  let supremiumMiddle = "mysticalagriculture:imperium_crop_seeds"; // Item central

  seedCrafting(
    "mysticalagriculture:supremium_crop_seeds",
    supremiumMiddle, // Semente a ser criada
    awakened_supremiumItem1,
    creative_essenceItem2, // Itens ao redor
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2
  );

  //insanium seed crafting

  let insaniumMiddle = "mysticalagriculture:supremium_crop_seeds"; // Item central

  seedCrafting(
    "mysticalagriculture:insanium_crop_seeds",
    insaniumMiddle, // Semente a ser criada
    awakened_supremiumItem1,
    creative_essenceItem2, // Itens ao redor
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2
  );

  //awakened supremium seed crafting

  let awakened_supremiumMiddle = "mysticalagriculture:insanium_crop_seeds"; // Item central

  seedCrafting(
    "mysticalagriculture:awakened_supremium_crop_seeds",
    awakened_supremiumMiddle, // Semente a ser criada
    awakened_supremiumItem1,
    creative_essenceItem2, // Itens ao redor
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2,
    awakened_supremiumItem1,
    creative_essenceItem2
  );

  //creative essence crafting

  let creative_essenceMiddle = "mysticalagradditions:insanium_essence"; // Item central

  seedCrafting(
    "mysticalagradditions:creative_essence",
    creative_essenceMiddle,
    awakened_supremiumItem1,
    awakened_supremiumItem1,
    awakened_supremiumItem1,
    awakened_supremiumItem1,
    awakened_supremiumItem1,
    awakened_supremiumItem1,
    awakened_supremiumItem1,
    awakened_supremiumItem1
  );

  //aluminum seeds crafting
  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:aluminum"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/aluminum",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/aluminum",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/aluminum",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/aluminum",
        },
      ],
      result: {
        item: "mysticalagriculture:aluminum_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/aluminum");

  //coal seeds crafting
  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:coal"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:coal_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:coal_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:coal_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:coal_block",
        },
      ],
      result: {
        item: "mysticalagriculture:coal_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/coal");

  //amethyst seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:amethyst"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:amethyst_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:amethyst_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:amethyst_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:amethyst_block",
        },
      ],
      result: {
        item: "mysticalagriculture:amethyst_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/amethyst");

  //copper seeds crafting
  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:copper"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:copper_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:copper_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:copper_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:copper_block",
        },
      ],
      result: {
        item: "mysticalagriculture:copper_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/copper");

  //iron seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:iron"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:iron_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:iron_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:iron_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:iron_block",
        },
      ],
      result: {
        item: "mysticalagriculture:iron_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/iron");

  //zinc seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:zinc"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/zinc",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/zinc",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/zinc",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/zinc",
        },
      ],
      result: {
        item: "mysticalagriculture:zinc_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/zinc");

  //lead seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:lead"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/lead",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/lead",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/lead",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/lead",
        },
      ],
      result: {
        item: "mysticalagriculture:lead_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/lead");

  //redstone seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:redstone"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:redstone_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:redstone_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:redstone_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:redstone_block",
        },
      ],
      result: {
        item: "mysticalagriculture:redstone_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/redstone");

  //glowstone seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:glowstone"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:glowstone_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:glowstone_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:glowstone_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:glowstone_block",
        },
      ],
      result: {
        item: "mysticalagriculture:glowstone_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/glowstone");

  //nether quartz seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:nether_quartz"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:quartz_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:quartz_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:quartz_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:quartz_block",
        },
      ],
      result: {
        item: "mysticalagriculture:nether_quartz_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/nether_quartz");

  //certus quartz seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:certus_quartz"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "ae2:quartz_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "ae2:quartz_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "ae2:quartz_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "ae2:quartz_block",
        },
      ],
      result: {
        item: "mysticalagriculture:certus_quartz_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/certus_quartz");

  //manasteel seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:manasteel"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "botania:manasteel_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "botania:manasteel_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "botania:manasteel_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "botania:manasteel_block",
        },
      ],
      result: {
        item: "mysticalagriculture:manasteel_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/manasteel");

  //silver seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:silver"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/silver",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/silver",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/silver",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/silver",
        },
      ],
      result: {
        item: "mysticalagriculture:silver_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/silver");

  //diamond seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:diamond"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:diamond_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:diamond_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:diamond_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:diamond_block",
        },
      ],
      result: {
        item: "mysticalagriculture:diamond_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/diamond");

  //emerald seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:emerald"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:emerald_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:emerald_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:emerald_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:emerald_block",
        },
      ],
      result: {
        item: "mysticalagriculture:emerald_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/emerald");

  //netherite seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:netherite"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:netherite_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:nether_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:netherite_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:nether_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:netherite_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/netherite");

  //draconium seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:draconium"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "draconicevolution:draconium_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "draconicevolution:draconium_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "draconicevolution:draconium_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "draconicevolution:draconium_block",
        },
      ],
      result: {
        item: "mysticalagriculture:draconium_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/draconium");

  //terrasteel seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:terrasteel"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:elementium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:elementium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:elementium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:elementium_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:terrasteel_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/terrasteel");

  //cyanite seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:cyanite"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:cyanite_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/cyanite");

  //uraninite seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:uraninite"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:uranium_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:uraninite_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/uraninite");

  //niotic seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:niotic_crystal"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:niotic_crystal_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/niotic_crystal");

  //spirited seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:spirited_crystal"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:niotic_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:niotic_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:niotic_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:niotic_crystal_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:spirited_crystal_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/spirited_crystal");

  //nitro seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:nitro_crystal"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:spirited_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:spirited_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:spirited_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:spirited_crystal_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:nitro_crystal_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/nitro_crystal");

  //gaia spirit seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:gaia_spirit"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blazing_crystal_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:gaia_spirit_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/gaia_spirit");

  //awakened draconium seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:awakened_draconium"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:draconium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:dragon_egg_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:draconium_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:dragon_egg_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:awakened_draconium_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/awakened_draconium");

  //nether star seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:nether_star"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:wither_skeleton_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:nether_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:wither_skeleton_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:nether_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:nether_star_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/nether_star");

  //dragon egg seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:dragon_egg"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:dragon_egg",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:enderman_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:dragon_egg",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:enderman_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:dragon_egg_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/dragon_egg");

  //gold seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:gold"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:gold_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:gold_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:gold_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:gold_block",
        },
      ],
      result: {
        item: "mysticalagriculture:gold_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/gold");

  //lapis lazuli seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:lapis_lazuli"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:lapis_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:lapis_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:lapis_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "minecraft:lapis_block",
        },
      ],
      result: {
        item: "mysticalagriculture:lapis_lazuli_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/lapis");

  //uranium seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:uranium"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/uranium",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/uranium",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/uranium",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/uranium",
        },
      ],
      result: {
        item: "mysticalagriculture:uranium_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/uranium");

  //Nickel seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:nickel"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/nickel",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/nickel",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/nickel",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          tag: "forge:storage_blocks/nickel",
        },
      ],
      result: {
        item: "mysticalagriculture:nickel_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/nickel");

  //osmium seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:osmium"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mekanism:block_osmium",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mekanism:block_osmium",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mekanism:block_osmium",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mekanism:block_osmium",
        },
      ],
      result: {
        item: "mysticalagriculture:osmium_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/osmium");

  //hop graphite seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:hop_graphite"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "immersiveengineering:ingot_hop_graphite",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "immersiveengineering:ingot_hop_graphite",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "immersiveengineering:ingot_hop_graphite",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "immersiveengineering:ingot_hop_graphite",
        },
      ],
      result: {
        item: "mysticalagriculture:hop_graphite_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/hop_graphite");

  //elementium seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:elementium"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "botania:elementium_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:manasteel_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "botania:elementium_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:manasteel_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:elementium_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/elementium");

  //blazing crystal seeds crafting

  event
    .custom({
      type: "mysticalagriculture:infusion",
      input: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: '{Id:"extendedcrafting:blazing_crystal"}',
      },
      ingredients: [
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "powah:blazing_crystal_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blaze_seeds",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "powah:blazing_crystal_block",
        },
        {
          item: "mysticalagradditions:creative_essence",
        },
        {
          item: "mysticalagriculture:blaze_seeds",
        },
      ],
      result: {
        item: "mysticalagriculture:blazing_crystal_seeds",
      },
    })
    .id("mysticalagriculture:seed/infusion/blazing_crystal");
});
