[
  {
    "function": "minecraft:set_components",
    "components": {
      "minecraft:charged_projectiles": [
        {
          "id": "minecraft:arrow",
          "count": 1
        }
      ]
    }
  },
  {
    "function": "minecraft:set_components",
    "components": {
      "minecraft:charged_projectiles": [
        {
          "id": "minecraft:arrow",
          "count": 1
        },
        {
          "id": "minecraft:arrow",
          "components": {
            "minecraft:intangible_projectile": {}
          },
          "count": 1
        },
        {
          "id": "minecraft:arrow",
          "components": {
            "minecraft:intangible_projectile": {}
          },
          "count": 1
        }
      ]
    },
    "conditions": [
      {
        "condition": "minecraft:entity_properties",
        "entity": "this",
        "predicate": {
          "equipment": {
            "mainhand": {
              "items": [
                "minecraft:crossbow"
              ],
              "predicates": {
                "minecraft:enchantments": [
                  {
                    "enchantments": "survivalplus:auto"
                  }
                ]
              }
            }
          }
        }
      }
    ]
  }
]