events.listen("recipes", function (e) {
  e.custom({
    type: "create:mechanical_crafting",
    pattern: ["AAAAA", "ABBBA", "ABBBA", "ABBBA", "AAAAA", "ACADA", "AAAA "],
    key: {
      A: {
        item: "minecraft:quartz",
      },
      B: {
        item: "minecraft:lapis_lazuli",
      },
      C: {
        item: "minecraft:nether_star",
      },
      D: {
        item: "minecraft:netherite_ingot",
      },
    },
    result: {
      item: "compactmachines:personal_shrinking_device",
      count: 1,
    },
  });
});
