events.listen("recipes", function (e) {
  e.custom({
    type: "astralsorcery:altar",
    altar_type: 3,
    duration: 600,
    starlight: 4000,
    pattern: ["  A  ", " FFF ", "AFGFA", " FFF ", "  A  "],
    key: {
      F: { item: "botania:livingrock" },
      A: { item: "extendedcrafting:the_ultimate_ingot" },
      G: {
        type: "forge:nbt",
        item: "botania:mana_tablet",
        nbt: "{creative:1,mana:500000}",
        count: 1,
      },
    },
    output: [
      {
        item: "kubejs:rune_vierge",
        count: 1,
      },
    ],

    focus_constellation: "astralsorcery:ulteria",
    relay_inputs: [
      {
        item: "botania:rune_water",
      },
      {
        item: "botania:rune_fire",
      },
      {
        item: "botania:rune_earth",
      },
      {
        item: "botania:rune_air",
      },
      {
        item: "botania:rune_spring",
      },
      {
        item: "botania:rune_summer",
      },
      {
        item: "botania:rune_autumn",
      },
      {
        item: "botania:rune_winter",
      },
    ],
    effects: [
      "astralsorcery:built_in_effect_constellation_finish",
      "astralsorcery:built_in_effect_trait_relay_highlight",
      "astralsorcery:built_in_effect_discovery_central_beam",
      "astralsorcery:built_in_effect_trait_focus_circle",
      "astralsorcery:altar_default_sparkle",
      "astralsorcery:built_in_effect_constellation_lines",
      "astralsorcery:built_in_effect_attunement_sparkle",
    ],
  });
});
