ServerEvents.recipes((e) => {
  /*Exemplo de craft Draconic - Stack

  e.custom({
    type: "draconicevolution:fusion_crafting",
    result: {
      item: "draconicevolution:awakened_draconium_block",
      count: 4,
    },
    catalyst: {
      count: 4,
      items: [
        {
          tag: "forge:storage_blocks/draconium",
        },
      ],
      type: "draconicevolution:ingredient_stack",
    },
    total_energy: 50000000,
    tier: "WYVERN",
    ingredients: [
      {
        item: "draconicevolution:draconium_core",
      },
      {
        item: "draconicevolution:draconium_core",
      },
      {
        item: "draconicevolution:draconium_core",
      },
      {
        item: "draconicevolution:dragon_heart",
      },
      {
        item: "draconicevolution:draconium_core",
      },
      {
        item: "draconicevolution:draconium_core",
      },
      {
        item: "draconicevolution:draconium_core",
      },
    ],
  }).id("draconicevolution:awakened_draconium_block");
  
  
    Exemplo craft - Single

  e.custom({
    type: "draconicevolution:fusion_crafting",
    result: {
      item: "immersiveengineering:storage_steel",
    },
    catalyst: {
      item: "minecraft:iron_block",
    },
    total_energy: 50000,
    tier: "DRACONIUM",
    ingredients: [
      {
        item: "minecraft:coal_block",
      },
      {
        item: "minecraft:coal_block",
      },
    ],
  });
  */

  //infinity_nexus_core:infinity_component

  e.custom({
    type: "draconicevolution:fusion_crafting",
    result: {
      item: "infinity_nexus_core:infinity_component",
    },
    catalyst: {
      item: "infinity_nexus_core:integral_component",
    },
    total_energy: 1000000,
    tier: "DRACONIUM",
    ingredients: [
      {
        item: "draconicevolution:awakened_core",
      },
      {
        item: "mekanism:pellet_antimatter",
      },
      {
        item: "infinity_nexus_mod:industrial_sheet",
      },
      {
        item: "draconicevolution:awakened_core",
      },
      {
        item: "draconicevolution:awakened_core",
      },
      {
        item: "mekanism:pellet_antimatter",
      },
      {
        item: "infinity_nexus_mod:industrial_sheet",
      },
      {
        item: "draconicevolution:awakened_core",
      },
    ]
  });
    e.custom({
      type: "draconicevolution:fusion_crafting",
      result: {
        item: "draconicevolution:dragon_heart",
      },
      catalyst: {
        item: "bhc:soul_heart_canister",
      },
      total_energy: 500000,
      tier: "WYVERN",
      ingredients: [
        {
          item: "mysticalagriculture:awakened_supremium_essence",
        },
        {
          item: "mysticalagriculture:awakened_supremium_essence",
        },
        {
          item: "mysticalagriculture:awakened_supremium_gemstone",
        },
        {
          item: "mysticalagriculture:awakened_supremium_gemstone",
        },
        {
          item: "mysticalagriculture:awakened_supremium_essence",
        },
        {
          item: "mysticalagriculture:awakened_supremium_essence",
        },
      ]
    });
    e.custom({
      type: "draconicevolution:fusion_crafting",
      result: {
        item: "draconicevolution:chaos_shard",
      },
      catalyst: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        count: 1,
        nbt: "{Id:\"extendedcrafting:dragon_egg\"}"
      },
      total_energy: 2000000,
      tier: "DRACONIC",
      ingredients: [
        {
          item: "forbidden_arcanus:dark_matter",
        },
        {
          item: "forbidden_arcanus:dark_nether_star",
        },
        {
          item: "forbidden_arcanus:dark_matter",
        },
        {
          item: "forbidden_arcanus:dark_nether_star",
        },
        {
          item: "forbidden_arcanus:dark_matter",
        },
        {
          item: "forbidden_arcanus:dark_nether_star",
        },
      ]
    });
});