events.listen("recipes", function (e) {
  e.custom({
    type: "create:mechanical_crafting",
    pattern: ["ABBBA", "BACAB", "BCDCB", "BACAB", "ABBBA"],
    key: {
      A: { item: "chisel:concrete/green/solid_bricks" },
      B: { item: "minecraft:smooth_quartz" },
      C: { item: "minecraft:ender_pearl" },
      D: { item: "kubejs:rohantidite" },
    },
    result: { item: "minecraft:end_portal_frame", count: 1 },
  });
});
