events.listen("recipes", function (e) {
  //ultimate singularity so
  e.custom({
    type: "create:mechanical_crafting",
    pattern: [
      "ABCDEFG",
      "     NH",
      "    O I",
      "   P  J",
      "  Q   K",
      " R    L",
      "      M",
    ],
    key: {
      A: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:redstone"}',
      },
      B: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:sulfur"}',
      },
      C: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:niter"}',
      },
      D: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:refined_obsidian"}',
      },
      E: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:seed"}',
      },
      F: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:nickel"}',
      },
      G: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:glowstone"}',
      },
      H: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:emerald"}',
      },
      I: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:refined_glowstone"}',
      },
      J: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:ender"}',
      },
      K: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:platinum"}',
      },
      L: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:electrum"}',
      },
      M: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:niotic_crystal"}',
      },
      N: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:osmium"}',
      },
      O: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:nitro_crystal"}',
      },
      P: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:pig_iron"}',
      },
      Q: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:manasteel"}',
      },
      R: {
        type: "forge:nbt",
        item: "extendedcrafting:singularity",
        nbt: '{Id:"extendedcrafting:netherite"}',
      },
    },
    result: { item: "kubejs:ultimated", count: 1 },
  });
});
