{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_hurt_entity",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "nbt": "{Tags:[\"mt.absorb_steal\"]}",
              "flags": {}
            }
          }
        ],
        "damage": {
          "type": {
            "tags": [
              {
                "id": "mt:player_attack",
                "expected": true
              }
            ]
          }
        },
        "entity": {
          "effects": {
            "minecraft:absorption": {}
          }
        }
      }
    }
  },
  "rewards": {
    "function": "mt:technical/hit_items/piglin_jealousy"
  }
}
