{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:wither",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },

    "components": {
      "minecraft:is_hidden_when_invisible": {
      },
      "minecraft:experience_reward": {
        "on_death": "50"
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0
      },
      "minecraft:boss": {
        "should_darken_sky": true,
        "hud_range": 55
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "on_damage": {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "undead"
            }
          },
          "deals_damage": false
        }
      },
      "minecraft:health": {
        "value": 600,
        "max": 600
      },
      "minecraft:collision_box": {
        "width": 1,
        "height": 3
      },
      "minecraft:fire_immune": {
      },
      "minecraft:loot": {
        "table": "loot_tables/entities/wither_boss.json"
      },
      "minecraft:nameable": {
      },
      "minecraft:movement": {
        "value": 0.25
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "avoid_water": true
      },
      "minecraft:movement.basic": {
        "max_turn":  180.0
      },
      "minecraft:jump.static": {
      },
      "minecraft:can_climb": {
      },
      "minecraft:can_fly": {
      },
      "minecraft:behavior.float": {
        "priority": 1
      },
      "minecraft:behavior.wither_random_attack_pos_goal": {
        "priority": 3
      },
      "minecraft:behavior.wither_target_highest_damage": {
        "priority": 1
      },
      "minecraft:behavior.hurt_by_target": {
        "priority": 2
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 3,
        "entity_types": [
          {
            "filters": { "test" :  "is_family", "subject" : "other", "value" :  "player"},
            "max_dist": 70
          },
          {
            "filters": {
               "all_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "operator": "!=",
                  "value": "undead"
                },
                {
                  "test": "is_family",
                  "subject": "other",
                  "operator": "!=",
                  "value": "inanimate"
                }
              ]
            },
            "max_dist": 70
          }
        ],
        "must_see": true
      },
      "minecraft:behavior.random_stroll": {
        "priority": 5,
        "speed_multiplier": 1
      },
      "minecraft:behavior.look_at_target": {
        "priority": 5
      },
      "minecraft:behavior.look_at_player": {
        "priority": 6,
        "look_distance": 8
      },
      "minecraft:behavior.random_look_around": {
        "priority": 7
      },
      "minecraft:type_family": {
        "family": [ "wither", "skeleton", "monster", "undead", "mob" ]
      },
      "minecraft:persistent": {
      },
      "minecraft:physics": {
      },
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {
      }
    },

    "events": {
      "minecraft:entity_spawned": {

      }
    }
  }
}