{
  "parent": "sanguine:technical/root",
  "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:\"bone_needle\"}}"
                }
              }
            }
          }
        ],
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:wandering_trader",
              "nbt": "{Tags:[\"sanguine.vermin\"]}"
            }
          },
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{Tags:[\"sanguine.vermin.neutral\"]}"
              }
            }
          },
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{Tags:[\"sanguine.vermin.tamed\"]}"
              }
            }
          },
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "effects": {
                "minecraft:weakness": {
                  "duration": {
                    "min": 1
                  }
                }
              }
            }
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "requirement"
    ]
  ],
  "rewards": {
    "function": "sanguine:entity/vermin/neutral/neutralize"
  }
}
