{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "hoh_bht:boss_witherskeleton",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },
    "components": {
      "minecraft:boss": {
        "hud_range": 64,
        "name": "entity.hoh_bht:boss_witherskeleton.name",
        "should_darken_sky": false
      },
      "minecraft:persistent": {},
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0"
      },
      "minecraft:breathable": {
        "total_supply": 15,
        "suffocate_time": 0,
        "breathes_water": true
      },
      "minecraft:health": {
        "value": 35,
        "max": 35
      },
      "minecraft:equip_item": {},
      "minecraft:collision_box": {
        "width": 0.72,
        "height": 2.01
      },
      "minecraft:attack": {
        "damage": 4,
        "effect_name": "wither",
        "effect_duration": 10
      },
      "minecraft:equipment": {
        "table": "loot_tables/HoH/bht/entities/boss_wither_skeleton_gear.json",
        "slot_drop_chance": [
          {
            "slot": "slot.armor.head",
            "drop_chance": 0
          },
          {
            "slot": "slot.armor.chest",
            "drop_chance": 0
          },
          {
            "slot": "slot.armor.legs",
            "drop_chance": 0
          },
          {
            "slot": "slot.armor.feet",
            "drop_chance": 0
          },
          {
            "slot": "slot.weapon.mainhand",
            "drop_chance": 0
          }
        ]
      },
      "minecraft:movement": {
        "value": 0.25
      },
      "minecraft:navigation.walk": {
        "is_amphibious": true,
        "avoid_sun": false,
        "avoid_water": true
      },
      "minecraft:inventory": {
        "restrict_to_owner": true,
        "private": true
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:can_climb": {},
      "minecraft:scale": {
        "value": 1.2
      },
      "minecraft:fire_immune": {},
      "minecraft:behavior.hurt_by_target": {
        "priority": 1
      },
      "minecraft:behavior.nearest_attackable_target": {
        "priority": 2,
        "reselect_targets": true,
        "must_see": true,
        "entity_types": [
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "player"
            },
            "max_dist": 16
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "piglin"
                },
                {
                  "test": "is_difficulty",
                  "operator": "!=",
                  "value": "peaceful"
                }
              ]
            },
            "max_dist": 16
          },
          {
            "filters": {
              "test": "is_family",
              "subject": "other",
              "value": "irongolem"
            },
            "max_dist": 16
          },
          {
            "filters": {
              "all_of": [
                {
                  "test": "is_family",
                  "subject": "other",
                  "value": "baby_turtle"
                },
                {
                  "test": "in_water",
                  "subject": "other",
                  "operator": "!=",
                  "value": true
                }
              ]
            },
            "max_dist": 16
          }
        ]
      },
      "minecraft:behavior.equip_item": {
        "priority": 3
      },
      "minecraft:behavior.melee_attack": {
        "priority": 4,
        "track_target": true,
        "speed_multiplier": 1.25
      },
      "minecraft:behavior.pickup_items": {
        "priority": 5,
        "max_dist": 3,
        "goal_radius": 2,
        "speed_multiplier": 1.0,
        "pickup_based_on_chance": false
      },
      "minecraft:behavior.random_stroll": {
        "priority": 6,
        "speed_multiplier": 1
      },
      "minecraft:behavior.look_at_player": {
        "priority": 7,
        "look_distance": 8
      },
      "minecraft:behavior.random_look_around": {
        "priority": 8
      },
      "minecraft:type_family": {
        "family": [
          "wither",
          "monster",
          "undead",
          "skeleton",
          "mob"
        ]
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {}
    },
    "events": {
      "minecraft:entity_spawned": {}
    }
  }
}