{
  "parent": "nucleus:root",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_hurt_entity",
      "conditions": {
        "damage": {
          "type": {
            "direct_entity": {
              "type": "minecraft:spectral_arrow"
            }
          }
        },
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "nbt": "{Tags:[\"nucleus.entity\"]}"
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "nucleus:entity/technical/prevent_glowing/main"
  }
}
