events.listen("recipes", function (e) {
  e.custom({
    type: "minecraft:crafting_shaped",

    pattern: ["   ", "AAA", "BCB"],
    key: {
      A: {
        item: "solarflux:ender_glass",
      },
      B: {
        item: "kubejs:restonia_plate",
      },
      C: {
        item: "kubejs:component_restonia",
      },
    },
    result: {
      item: "kubejs:restonia_glass",
      count: 3,
    },
  });
});
