{
	"format_version" : "1.16.0",
	"minecraft:entity" : {
		"description" : {
			"identifier" : "minecraft:wither",
			"is_spawnable" : false,
			"is_summonable" : true,
			"is_experimental" : false
		},
		"component_groups" : {
			"rare_wither" : {
				"minecraft:health" : {
					"value" : 700,
					"max" : 800
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/rare_wither.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "400"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "conduit_power",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.45
				}
			},
			"rare_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bRare Armoured Wither The Defender"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 1,
							"visible" : false
						}
					]
				}
			},
			"rare_ender" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§bRare Enderborn Wither The Trickster"
				},
				"minecraft:teleport" : {
					"random_teleports" : true,
					"max_random_teleport_time" : 30,
					"random_teleport_cube" : [ 32, 32, 32 ],
					"target_distance" : 16,
					"target_teleport_chance" : 0.10,
					"light_teleport_chance" : 0.10
				}
			},
			"rare_ninja" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§bRare Innerly Peaceful Wither Of Equilibrium"
				},
				"minecraft:teleport" : {
					"random_teleports" : true,
					"max_random_teleport_time" : 30,
					"random_teleport_cube" : [ 32, 32, 32 ],
					"target_distance" : 16,
					"target_teleport_chance" : 0.10,
					"light_teleport_chance" : 0.10
				}
			},
			"ultra_wither" : {
				"minecraft:health" : {
					"value" : 800,
					"max" : 900
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/ultra_wither.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "600"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "haste",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.65
				}
			},
			"ultra_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Defensive Wither Of Turtling"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 2,
							"visible" : false
						}
					]
				}
			},
			"ultra_ender" : {
				"minecraft:boss" : {
					"hud_range" : 40,
					"name" : "§eUltra Tricky Wither The Enderborn"
				},
				"minecraft:teleport" : {
					"random_teleports" : true,
					"max_random_teleport_time" : 15,
					"random_teleport_cube" : [ 16, 16, 16 ],
					"target_distance" : 32,
					"target_teleport_chance" : 0.5,
					"light_teleport_chance" : 0.5
				}
			},
			"ultra_ninja" : {
				"minecraft:boss" : {
					"hud_range" : 40,
					"name" : "§eUltra Totally Zen Wither Of Inner Peace"
				},
				"minecraft:teleport" : {
					"random_teleports" : true,
					"max_random_teleport_time" : 15,
					"random_teleport_cube" : [ 16, 16, 16 ],
					"target_distance" : 32,
					"target_teleport_chance" : 0.5,
					"light_teleport_chance" : 0.5
				}
			},
			"infernal_wither" : {
				"minecraft:health" : {
					"value" : 900,
					"max" : 1000
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/infernal_wither.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "800"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "saturation",
							"duration" : 999999,
							"visible" : true
						}
					]
				},
				"minecraft:movement" : {
					"value" : 0.85
				}
			},
			"infernal_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Turtling Wither Of Effing Armor"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 3,
							"visible" : false
						}
					]
				}
			},
			"infernal:ender" : {
				"minecraft:boss" : {
					"hud_range" : 80,
					"name" : "§cInfernal Enderborn Wither The Trickster"
				},
				"minecraft:teleport" : {
					"random_teleports" : true,
					"max_random_teleport_time" : 7,
					"random_teleport_cube" : [ 8, 8, 8 ],
					"target_distance" : 64,
					"target_teleport_chance" : 1,
					"light_teleport_chance" : 1
				}
			},
			"infernal_ninja" : {
				"minecraft:boss" : {
					"hud_range" : 80,
					"name" : "§cInfernal Ronin Wither The Zen Master"
				},
				"minecraft:teleport" : {
					"random_teleports" : true,
					"max_random_teleport_time" : 7,
					"random_teleport_cube" : [ 8, 8, 8 ],
					"target_distance" : 64,
					"target_teleport_chance" : 1,
					"light_teleport_chance" : 1
				}
			}
		},
		"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" : {
				"randomize" : [
					{
						"weight" : 9500,
						"add" : {},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_wither", "rare_bullwark" ]
						}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_wither", "rare_ender" ]
						}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_wither", "rare_ninja" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_wither", "ultra_bullwark" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_wither", "ultra_ender" ]
						}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_wither", "ultra_ninja" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_wither", "infernal_bullwark" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_wither", "infernal_ender" ]
						}
					},
					{
						"weight" : 5,
						"add" : {
							"component_groups" : [ "infernal_wither", "infernal_ninja" ]
						}
					}
				]
			}
		}
	}
}
