{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "minecraft:wither",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"properties": {
				"ldz:ice_overlay": {
					"type": "bool",
					"client_sync": true,
					"default": false
				}
			},
			"animations": {
				"ctrl.ice_timer": "controller.animation.vanilla.ice_timer",
				"ice_timer": "animation.vanilla.ice_timer",
				"ice_damage": "animation.vanilla.ice_damage"
			},
			"scripts": {
				"animate": [
					"ctrl.ice_timer"
				]
			}
		},
		"component_groups": {
			"ice_overlay": {
				"minecraft:is_shaking": {}
			},
			"instant_despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"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
			},
			"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",
					"flight_mob"
				]
			},
			"minecraft:persistent": {},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:conditional_bandwidth_optimization": {}
		},
		"events": {
			"minecraft:entity_spawned": {},
			"set_ice_overlay_to_true": {
				"set_property": {
					"ldz:ice_overlay": true
				},
				"add": {
					"component_groups": [
						"ice_overlay"
					]
				}
			},
			"set_ice_overlay_to_false": {
				"set_property": {
					"ldz:ice_overlay": false
				},
				"remove": {
					"component_groups": [
						"ice_overlay"
					]
				}
			},
			"despawn": {
				"add": {
					"component_groups": [
						"instant_despawn"
					]
				}
			}
		}
	}
}