{
    "criteria": {
      "requirement": {
        "trigger": "minecraft:player_hurt_entity",
        "conditions": {
          "player": [
            {
              "condition": "minecraft:entity_scores",
              "entity": "this",
              "scores": {
                "mt.small": {
                  "min": 1
                }
              }
            }
          ],
          "damage": {
            "type": {
              "tags": [
                {
                  "id": "minecraft:is_player_attack",
                  "expected": true
                }
              ]
            }
          },
          "entity": {
            "distance": {
              "absolute": {
                "max": 1
              }
            }
          }
        }
      }
    },
    "rewards": {
      "function": "mt:mechanics/small/ride"
    }
  }
  