{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:entity_hurt_player",
      "conditions": {
        "damage": {
          "blocked": false,
          "source_entity": {
            "equipment": {
              "mainhand": {
                "components": {
                  "minecraft:custom_data": {
                    "healwand": "tag"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "rewards": {
    "function": "survivalplus:tools/gethit/healwand"
  }
}