{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_hurt_entity",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_scores",
            "entity": "this",
            "scores": {
              "mt.crimson_chestplate": {
                "min": 10
              }
            }
          },
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "flags": {},
              "equipment": {
                "chest": {
                  "items": "minecraft:leather_chestplate",
                  "predicates": {
                    "minecraft:custom_data": "{armor:\"crimson_chestplate\"}"
                  }
                }
              }
            }
          }
        ],
        "damage": {
          "type": {
            "tags": [
              {
                "id": "mt:player_attack",
                "expected": true
              }
            ]
          }
        },
        "entity": {
          "effects": {
            "minecraft:regeneration": {}
          }
        }
      }
    }
  },
  "rewards": {
    "function": "mt:technical/hit_items/crimson_chestplate"
  }
}
