{
  "minecraft:entity": {
    "format_version": "1.2.0",
    "components": {
      "minecraft:identifier": {
        "id": "minecraft:vex"
      },

      "minecraft:type_family": {
        "family": [ "vex", "monster" ]
      },
      "minecraft:equipment": {
        "table": "loot_tables/entities/vex_gear.json"
      },
      "minecraft:health": {
        "value": 14,
        "max": 14
      },
      "minecraft:attack": {
        "damage": 3
      },
      "minecraft:collision_box": {
        "width": 0.4,
        "height": 0.8
      },
      "minecraft:movement": {
        "value": 1.0
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true
      },
      "minecraft:movement.basic": {

      },
      "minecraft:jump.static": {
      },
      "minecraft:can_climb": {
      },
      "minecraft:fire_immune": true,
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.charge_attack": {
        "priority": 4
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 3,
        "entity_types": [
          {
            "filters": {
              "any_of" : [
                {"test" : "is_family", "subject" : "other", "value" :  "player"},
                {"test" : "is_family", "subject" : "other", "value" :  "villager"},
                {"test" : "is_family", "subject" : "other", "value" :  "irongolem"}
              ]
            },
            "max_dist": 70
          }
        ],
        "must_see": true
      },
      "minecraft:behavior.look_at_player": {
        "priority": 9,
        "look_distance": 6.0,
        "probability": 0.02
      },
      "minecraft:behavior.look_at_entity": {
        "priority": 9,
        "look_distance": 6.0,
        "probability": 0.02,
        "filters": { "test" :  "is_family", "subject" : "other", "value" :  "mob"}
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 1
      },
      "minecraft:physics": {
        "has_gravity": false,
        "has_collision": false
      }
    }
  }
}
