{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_hurt_entity",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "equipment": {
                "mainhand": {
                  "items": [
                    "minecraft:warped_fungus_on_a_stick"
                  ],
                  "nbt": "{sanguine:{id:\"nail_bat\"}}"
                }
              }
            }
          }
        ],
        "damage": {
          "type": {
            "tags": [
              {
                "id": "minecraft:is_projectile",
                "expected": false
              },
              {
                "id": "minecraft:is_explosion",
                "expected": false
              }
            ]
          }
        }
      }
    }
  },
  "requirements": [
    [
      "requirement"
    ]
  ],
  "rewards": {
    "function": "sanguine:item/nail_bat/damage"
  }
}
