{
	"format_version" : "1.16.0",
	"minecraft:entity" : {
		"description" : {
			"identifier" : "minecraft:phantom",
			"is_spawnable" : true,
			"is_summonable" : true,
			"is_experimental" : false
		},
		"component_groups" : {
			"rare_phantom" : {
				"minecraft:movement" : {
					"value" : 2.2
				},
				"minecraft:health" : {
					"value" : 30,
					"max" : 30
				},
				"minecraft:attack" : {
					"damage" : 10
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/rare_phantom.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "20"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "conduit_power",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"rare_blastoff" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Trolling Phantom The NASA"
				},
				"minecraft:attack" : {
					"effect_name" : "levitation",
					"effect_duration" : 5
				}
			},
			"rare_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Armoured Phantom The Defender"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 1,
							"visible" : false
						}
					]
				}
			},
			"rare_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Unseen Phantom Of Stalking"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "conduit_power",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"rare_darkness" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Dark Phantom The Shadow"
				},
				"minecraft:attack" : {
					"effect_name" : "blindness",
					"effect_duration" : 10
				}
			},
			"rare_ender" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§bElite Enderborn Phantom 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.05,
					"light_teleport_chance" : 0.05
				}
			},
			"rare_ninja" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§bElite Innerly Peaceful Phantom 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.05,
					"light_teleport_chance" : 0.05
				}
			},
			"rare_poisonous" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Poisonous Phantom Of Venom"
				},
				"minecraft:attack" : {
					"effect_name" : "poison",
					"effect_duration" : 10
				}
			},
			"rare_quicksand" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Quicksand Phantom Of WTF Imba"
				},
				"minecraft:attack" : {
					"effect_name" : "slowness",
					"effect_duration" : 15
				}
			},
			"rare_sapper" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Starving Phantom Of Hunger"
				},
				"minecraft:attack" : {
					"effect_name" : "hunger",
					"effect_duration" : 15
				}
			},
			"rare_sprint" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Sprinting Phantom Of Bolting"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "speed",
							"duration" : 999999,
							"amplifier" : 1,
							"visible" : false
						}
					]
				}
			},
			"rare_weakness" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Apathetic Phantom Of Apathy"
				},
				"minecraft:attack" : {
					"effect_name" : "weakness",
					"effect_duration" : 15
				}
			},
			"rare_wither" : {
				"minecraft:boss" : {
					"hud_range" : 10,
					"name" : "§bElite Withering Phantom Doomskull"
				},
				"minecraft:attack" : {
					"effect_name" : "wither",
					"effect_duration" : 10
				}
			},
			"ultra_phantom" : {
				"minecraft:movement" : {
					"value" : 2.6
				},
				"minecraft:health" : {
					"value" : 40,
					"max" : 40
				},
				"minecraft:attack" : {
					"damage" : 14
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/ultra_phantom.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "40"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "haste",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"ultra_blastoff" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Thumping Phantom Of Mission Control"
				},
				"minecraft:attack" : {
					"effect_name" : "levitation",
					"effect_duration" : 10
				}
			},
			"ultra_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Defensive Phantom Of Turtling"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 2,
							"visible" : false
						}
					]
				}
			},
			"ultra_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Stalking Phantom The Unseen"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "haste",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"ultra_darkness" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Eclipsed Phantom The Shadow"
				},
				"minecraft:attack" : {
					"effect_name" : "blindness",
					"effect_duration" : 15
				}
			},
			"ultra_ender" : {
				"minecraft:boss" : {
					"hud_range" : 40,
					"name" : "§eUltra Tricky Phantom 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 Phantom 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
				}
			},
			"ultra_poisonous" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Despoiling Phantom The Cancerous"
				},
				"minecraft:attack" : {
					"effect_name" : "poison",
					"effect_duration" : 15
				}
			},
			"ultra_quicksand" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Quicksand Phantom The Slowing B****"
				},
				"minecraft:attack" : {
					"effect_name" : "slowness",
					"effect_duration" : 30
				}
			},
			"ultra_sapper" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Hungering Phantom The Mutated"
				},
				"minecraft:attack" : {
					"effect_name" : "hunger",
					"effect_duration" : 30
				}
			},
			"ultra_sprint" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Charging Phantom The Swift One"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "speed",
							"duration" : 999999,
							"amplifier" : 2,
							"visible" : false
						}
					]
				}
			},
			"ultra:weakness" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Apathetic Phantom Of Apathy"
				},
				"minecraft:attack" : {
					"effect_name" : "weakness",
					"effect_duration" : 30
				}
			},
			"ultra:wither" : {
				"minecraft:boss" : {
					"hud_range" : 20,
					"name" : "§eUltra Dark Lord Phantom Doomskull"
				},
				"minecraft:attack" : {
					"effect_name" : "wither",
					"effect_duration" : 15
				}
			},
			"infernal_phantom" : {
				"minecraft:movement" : {
					"value" : 3.0
				},
				"minecraft:health" : {
					"value" : 50,
					"max" : 50
				},
				"minecraft:attack" : {
					"damage" : 18
				},
				"minecraft:loot" : {
					"table" : "loot_tables/entities/tartarean/infernal_phantom.json"
				},
				"minecraft:experience_reward" : {
					"on_death" : "60"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "saturation",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"infernal_blastoff" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Byebye Phantom Of WEEEE"
				},
				"minecraft:attack" : {
					"effect_name" : "levitation",
					"effect_duration" : 15
				}
			},
			"infernal_bullwark" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Turtling Phantom Of Effing Armor"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "resistance",
							"duration" : 999999,
							"amplifier" : 3,
							"visible" : false
						}
					]
				}
			},
			"infernal_cloaking" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Hunting Phantom The Predator"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "invisibility",
							"duration" : 999999,
							"visible" : false
						},
						{
							"effect" : "saturation",
							"duration" : 999999,
							"visible" : true
						}
					]
				}
			},
			"infernal_darkness" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Shadowkin Phantom Of Darkness"
				},
				"minecraft:attack" : {
					"effect_name" : "blindness",
					"effect_duration" : 20
				}
			},
			"infernal_ender" : {
				"minecraft:boss" : {
					"hud_range" : 80,
					"name" : "§cInfernal Enderborn Phantom 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 Phantom 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
				}
			},
			"infernal_poisonous" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Stinging Phantom The Deadly Chalice"
				},
				"minecraft:attack" : {
					"effect_name" : "poison",
					"effect_duration" : 20
				}
			},
			"infernal_quicksand" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Slowing Phantom Of You-Can't-Run"
				},
				"minecraft:attack" : {
					"effect_name" : "slowness",
					"effect_duration" : 45
				}
			},
			"infernal_sapper" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Starving Phantom The Pale Rider"
				},
				"minecraft:attack" : {
					"effect_name" : "hunger",
					"effect_duration" : 45
				}
			},
			"infernal_sprint" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Swift Phantom Of Being In Your Face"
				},
				"minecraft:spell_effects" : {
					"add_effects" : [
						{
							"effect" : "speed",
							"duration" : 999999,
							"amplifier" : 3,
							"visible" : false
						}
					]
				}
			},
			"infernal_weakness" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Apathetic Phantom Of Apathy"
				},
				"minecraft:attack" : {
					"effect_name" : "weakness",
					"effect_duration" : 45
				}
			},
			"infernal_wither" : {
				"minecraft:boss" : {
					"hud_range" : 30,
					"name" : "§cInfernal Sith Lord Phantom Of Dark Skulls"
				},
				"minecraft:attack" : {
					"effect_name" : "wither",
					"effect_duration" : 20
				}
			}
		},
		"components" : {
			"minecraft:is_hidden_when_invisible" : {},
			"minecraft:experience_reward" : {
				"on_death" : "query.last_hit_by_player ? 5 : 0"
			},
			"minecraft:type_family" : {
				"family" : [ "phantom", "undead", "monster", "mob" ]
			},
			"minecraft:loot" : {
				"table" : "loot_tables/entities/phantom.json"
			},
			"minecraft:nameable" : {},
			"minecraft:health" : {
				"value" : 20,
				"max" : 20
			},
			"minecraft:hurt_on_condition" : {
				"damage_conditions" : [
					{
						"filters" : {
							"test" : "in_lava",
							"subject" : "self",
							"operator" : "==",
							"value" : true
						},
						"cause" : "lava",
						"damage_per_tick" : 4
					}
				]
			},
			"minecraft:physics" : {
				"has_gravity" : false
			},
			"minecraft:pushable" : {
				"is_pushable" : true,
				"is_pushable_by_piston" : true
			},
			"minecraft:conditional_bandwidth_optimization" : {},
			"minecraft:attack" : {
				"damage" : 6
			},
			"minecraft:breathable" : {
				"total_supply" : 15,
				"suffocate_time" : 0,
				"breathes_air" : true,
				"breathes_water" : false
			},
			"minecraft:collision_box" : {
				"width" : 0.9,
				"height" : 0.5
			},
			"minecraft:movement" : {
				"value" : 1.8
			},
			"minecraft:movement.glide" : {
				"start_speed" : 0.1,
				"speed_when_turning" : 0.2
			},
			"minecraft:burns_in_daylight" : {},
			"minecraft:follow_range" : {
				"value" : 64,
				"max" : 64
			},
			"minecraft:despawn" : {
				"despawn_from_distance" : {}
			},
			"minecraft:behavior.avoid_mob_type" : {
				"priority" : 0,
				"max_dist" : 16.0,
				"ignore_visibility" : true,
				"entity_types" : [
					{
						"filters" : {
							"any_of" : [
								{
									"test" : "is_family",
									"subject" : "other",
									"value" : "ocelot"
								},
								{
									"test" : "is_family",
									"subject" : "other",
									"value" : "cat"
								}
							]
						},
						"max_dist" : 16
					}
				]
			},
			"minecraft:behavior.nearest_attackable_target" : {
				"priority" : 1,
				"reselect_targets" : true,
				"scan_interval" : 20,
				"within_radius" : 64.0,
				"must_see_forget_duration" : 0.5,
				"target_search_height" : 80.0,
				"entity_types" : [
					{
						"filters" : {
							"test" : "is_family",
							"subject" : "other",
							"value" : "player"
						},
						"max_dist" : 64
					}
				]
			},
			"minecraft:behavior.swoop_attack" : {
				"priority" : 2,
				"damage_reach" : 0.2,
				"speed_multiplier" : 1.0,
				"delay_range" : [ 10.0, 20.0 ]
			},
			"minecraft:behavior.circle_around_anchor" : {
				"priority" : 3,
				"radius_change" : 1.0,
				"radius_adjustment_chance" : 0.004,
				"height_adjustment_chance" : 0.002857,
				"goal_radius" : 1.0,
				"angle_change" : 15.0,
				"radius_range" : [ 5.0, 15.0 ],
				"height_offset_range" : [ -4.0, 5.0 ],
				"height_above_target_range" : [ 20.0, 40.0 ]
			}
		},
		"events" : {
			"minecraft:entity_spawned" : {
				"randomize" : [
					{
						"weight" : 9500,
						"add" : {},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_blastoff" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_bullwark" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_cloaking" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_darkness" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_ender" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_ninja" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_poisonous" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_quicksand" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_sapper" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_sprint" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_weakness" ]
						},
						"remove" : {}
					},
					{
						"weight" : 75,
						"add" : {
							"component_groups" : [ "rare_phantom", "rare_wither" ]
						},
						"remove" : {}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_blastoff" ]
						},
						"remove" : {}
					},
					{
						"weight" : 25,
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_bullwark" ]
						},
						"remove" : {}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_cloaking" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_darkness" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_ender" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_ninja" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_poisonous" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_quicksand" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_sapper" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_sprint" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_weakness" ]
						}
					},
					{
						"weight" : 25,
						"remove" : {},
						"add" : {
							"component_groups" : [ "ultra_phantom", "ultra_wither" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_blastoff" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_bullwark" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_cloaking" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_darkness" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_ender" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_ninja" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_poisonous" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_quicksand" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_sapper" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_sprint" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_weakness" ]
						}
					},
					{
						"weight" : 5,
						"remove" : {},
						"add" : {
							"component_groups" : [ "infernal_phantom", "infernal_wither" ]
						}
					}
				]
			}
		}
	}
}
