{
	"format_version": "1.18.0",
	"minecraft:entity": {
		"description": {
			"identifier": "shapescape_mb:phantom_boss",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"scripts": {
				"animate": [
					"ac.death",
					"ac.melee_attack",
					"ac.choose_attack",
					"ac.wing_attack_prep",
					"ac.phase_change_prep",
					"ac.resist_suffocation",
					"ac.player_number"
				]
			},
			"animations": {
				"ac.death": "controller.animation.shapescape_mb.phantom_boss.death",
				"ac.melee_attack": "controller.animation.shapescape_mb.phantom_boss.melee_attack",
				"ac.choose_attack": "controller.animation.shapescape_mb.phantom_boss.choose_attack",
				"ac.wing_attack_prep": "controller.animation.shapescape_mb.phantom_boss.wing_attack_prep",
				"ac.phase_change_prep": "controller.animation.shapescape_mb.phantom_boss.phase_change_prep",
				"ac.resist_suffocation": "controller.animation.shapescape_mb.phantom_boss.resist_suffocation",
				"ac.player_number": "controller.animation.shapescape_mb.boss.player_number"
			},
			"properties": {
				"shapescape_mb:boss_class": {
					"type": "enum",
					"default": "common",
					"values": [
						"common",
						"uncommon",
						"rare",
						"epic",
						"legendary",
						"impossible"
					]
				}
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			},
			"spawn_delay": {
				"minecraft:is_baby": {},
				"minecraft:timer": {
					"time": 1,
					"looping": true,
					"time_down_event": {
						"event": "start",
						"target": "self"
					}
				}
			},
			"collision_box": {
				"minecraft:collision_box": {
					"width": 2.5,
					"height": 3.5
				}
			},
			"no_collision_box": {
				"minecraft:collision_box": {
					"width": 0.0,
					"height": 0.0
				}
			},
			"not_move": {
				"minecraft:movement": {
					"value": 0.0
				}
			},
			"damage_false": {
				"minecraft:damage_sensor": {
					"triggers": [
						{
							"deals_damage": false
						}
					]
				}
			},
			"damage_true": {
				"minecraft:damage_sensor": {
					"triggers": [
						{
							"cause": "fall",
							"deals_damage": false
						},
						{
							"deals_damage": false,
							"on_damage": {
								"filters": {
									"all_of": [
										{
											"test": "has_damage",
											"subject": "self",
											"value": "magic"
										},
										{
											"any_of": [
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "rare"
												},
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "epic"
												},
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "legendary"
												},
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "impossible"
												}
											]
										}
									]
								},
								"target": "self"
							}
						},
						{
							"deals_damage": false,
							"on_damage": {
								"filters": {
									"all_of": [
										{
											"test": "has_damage",
											"subject": "self",
											"value": "wither"
										},
										{
											"any_of": [
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "legendary"
												},
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "impossible"
												}
											]
										}
									]
								},
								"target": "self"
							}
						},
						{
							"deals_damage": false,
							"on_damage": {
								"filters": {
									"all_of": [
										{
											"test": "has_damage",
											"subject": "self",
											"value": "suffocation"
										},
										{
											"all_of": [
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "epic"
												},
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "legendary"
												},
												{
													"test": "enum_property",
													"subject": "self",
													"domain": "shapescape_mb:boss_class",
													"value": "impossible"
												}
											]
										}
									]
								},
								"target": "self"
							}
						},
						{
							"on_damage": {
								"filters": [
									{
										"all_of": [
											{
												"test": "is_skin_id",
												"subject": "self",
												"operator": "==",
												"value": 1
											}
										]
									}
								]
							},
							"damage_multiplier": 1
						},
						{
							"on_damage": {
								"filters": [
									{
										"all_of": [
											{
												"test": "is_skin_id",
												"subject": "self",
												"operator": "==",
												"value": 2
											}
										]
									}
								]
							},
							"damage_multiplier": 0.5
						},
						{
							"on_damage": {
								"filters": [
									{
										"all_of": [
											{
												"test": "is_skin_id",
												"subject": "self",
												"operator": ">=",
												"value": 3
											}
										]
									}
								]
							},
							"damage_multiplier": 0.33
						}
					]
				}
			},
			"phase_1": {
				"minecraft:mark_variant": {
					"value": 1
				}
			},
			"phase_2": {
				"minecraft:mark_variant": {
					"value": 2
				}
			},
			"phase_3": {
				"minecraft:mark_variant": {
					"value": 3
				}
			},
			"melee_attack": {
				"minecraft:variant": {
					"value": 10
				},
				"minecraft:behavior.delayed_attack": {
					"priority": 4,
					"speed_multiplier": 1.0,
					"reach_multiplier": 1.8,
					"attack_duration": 1.5,
					"hit_delay_pct": 0.35,
					"cooldown_time": 0.25
				}
			},
			"wing_attack_prep": {
				"minecraft:variant": {
					"value": 11
				},
				"minecraft:shooter": {
					"def": "minecraft:arrow"
				},
				"minecraft:behavior.ranged_attack": {
					"priority": 2,
					"charge_charged_trigger": 2.0,
					"charge_shoot_trigger": 4.6,
					"attack_radius": 15,
					"burst_shots": 1,
					"burst_interval": 0.05
				}
			},
			"wing_attack_exec": {
				"minecraft:variant": {
					"value": 12
				},
				"minecraft:behavior.look_at_target": {
					"look_distance": 64,
					"probability": 0.0,
					"angle_of_view_vertical": 0,
					"angle_of_view_horizontal": 0
				},
				"minecraft:behavior.look_at_player": {
					"look_distance": 64,
					"probability": 0.0,
					"angle_of_view_vertical": 0,
					"angle_of_view_horizontal": 0
				}
			},
			"phase_change_prep": {
				"minecraft:variant": {
					"value": 100
				}
			},
			"death": {
				"minecraft:body_rotation_blocked": {},
				"minecraft:is_sheared": {}
			},
			"move_common": {
				"minecraft:movement": {
					"value": 0.27
				}
			},
			"move_uncommon": {
				"minecraft:movement": {
					"value": 0.29
				}
			},
			"move_rare": {
				"minecraft:movement": {
					"value": 0.31
				}
			},
			"move_epic": {
				"minecraft:movement": {
					"value": 0.33
				}
			},
			"move_legendary": {
				"minecraft:movement": {
					"value": 0.35
				}
			},
			"move_impossible": {
				"minecraft:movement": {
					"value": 0.37
				}
			},
			"shapescape_mb:common_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:phantom_boss.common.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 600,
					"max": 600,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 7
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_phantom",
						"mob",
						"monster",
						"shapescape_mb_boss_class_common"
					]
				}
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:phantom_boss.uncommon.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 750,
					"max": 750,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 12
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_phantom",
						"mob",
						"monster",
						"shapescape_mb_boss_class_uncommon"
					]
				}
			},
			"shapescape_mb:rare_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:phantom_boss.rare.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 900,
					"max": 900,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 20
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_phantom",
						"mob",
						"monster",
						"shapescape_mb_boss_class_rare"
					]
				}
			},
			"shapescape_mb:epic_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:phantom_boss.epic.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 1100,
					"max": 1100,
					"min": 1
				},
				"minecraft:fire_immune": {},
				"minecraft:attack": {
					"damage": 27
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_phantom",
						"mob",
						"monster",
						"shapescape_mb_boss_class_epic"
					]
				}
			},
			"shapescape_mb:legendary_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:phantom_boss.legendary.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 1400,
					"max": 1400,
					"min": 1
				},
				"minecraft:fire_immune": {},
				"minecraft:attack": {
					"damage": 35
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_phantom",
						"mob",
						"monster",
						"shapescape_mb_boss_class_legendary"
					]
				}
			},
			"shapescape_mb:impossible_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:phantom_boss.impossible.name",
					"should_darken_sky": true
				},
				"minecraft:health": {
					"value": 2000,
					"max": 2000,
					"min": 1
				},
				"minecraft:fire_immune": {},
				"minecraft:attack": {
					"damage": 40
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_phantom",
						"mob",
						"monster",
						"shapescape_mb_boss_class_impossible"
					]
				}
			},
			"player_number_1": {
				"minecraft:skin_id": {
					"value": 1
				}
			},
			"player_number_2": {
				"minecraft:skin_id": {
					"value": 2
				}
			},
			"player_number_3": {
				"minecraft:skin_id": {
					"value": 3
				}
			}
		},
		"components": {
			"minecraft:behavior.random_stroll": {
				"interval": 120,
				"xz_dist": 6,
				"y_dist": 3,
				"priority": 10,
				"speed_multiplier": 0.7
			},
			"minecraft:follow_range": {
				"max": 100,
				"value": 100
			},
			"minecraft:mark_variant": {
				"value": 0
			},
			"minecraft:variant": {
				"value": 0
			},
			"minecraft:area_attack": {
				"cause": "entity_attack",
				"damage_per_tick": 1,
				"damage_range": 0.0001,
				"entity_filter": {
					"any_of": [
						{
							"test": "is_family",
							"subject": "other",
							"operator": "==",
							"value": "player"
						},
						{
							"test": "is_target",
							"subject": "other",
							"operator": "==",
							"value": true
						}
					]
				}
			},
			"minecraft:jump.static": {
				"jump_power": 0.42
			},
			"minecraft:water_movement": {
				"drag_factor": 1.0
			},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 1,
				"entity_types": [
					{
						"filters": {
							"all_of": [
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "projectile"
								},
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "shapescape_mb_phantom_ghost"
								}
							]
						}
					}
				]
			},
			"minecraft:behavior.nearest_prioritized_attackable_target": {
				"priority": 2,
				"within_radius": 64,
				"reselect_targets": true,
				"entity_types": [
					{
						"filters": {
							"any_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "player"
								}
							]
						},
						"max_dist": 64
					}
				]
			},
			"minecraft:behavior.nearest_attackable_target": {
				"priority": 3,
				"within_radius": 64,
				"reselect_targets": false,
				"entity_types": [
					{
						"filters": {
							"all_of": [
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "shapescape_mb_phantom"
								},
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "phantom"
								},
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "projectile"
								},
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "shapescape_mb_head"
								},
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "shapescape_mb_phantom_ghost"
								}
							]
						},
						"max_dist": 64
					}
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0
			},
			"minecraft:nameable": {},
			"minecraft:knockback_resistance": {
				"max": 100,
				"value": 100
			},
			"minecraft:movement.basic": {},
			"minecraft:navigation.walk": {},
			"minecraft:physics": {
				"has_gravity": true
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"trigger": "shapescape_mb:common_entity_spawned"
			},
			"start": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "common"
						},
						"add": {
							"component_groups": [
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"spawn_delay",
								"not_move"
							]
						},
						"trigger": "phase_1"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "uncommon"
						},
						"add": {
							"component_groups": [
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"spawn_delay",
								"not_move"
							]
						},
						"trigger": "phase_1"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "rare"
						},
						"add": {
							"component_groups": [
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"spawn_delay",
								"not_move"
							]
						},
						"trigger": "phase_1"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "epic"
						},
						"add": {
							"component_groups": [
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"spawn_delay",
								"not_move"
							]
						},
						"trigger": "phase_1"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "legendary"
						},
						"add": {
							"component_groups": [
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"spawn_delay",
								"not_move"
							]
						},
						"trigger": "phase_1"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "impossible"
						},
						"add": {
							"component_groups": [
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"spawn_delay",
								"not_move"
							]
						},
						"trigger": "phase_1"
					}
				]
			},
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			},
			"collision_box": {
				"add": {
					"component_groups": [
						"collision_box"
					]
				},
				"remove": {
					"component_groups": [
						"no_collision_box"
					]
				}
			},
			"no_collision_box": {
				"add": {
					"component_groups": [
						"no_collision_box"
					]
				},
				"remove": {
					"component_groups": [
						"collision_box"
					]
				}
			},
			"damage_true": {
				"add": {
					"component_groups": [
						"damage_true"
					]
				},
				"remove": {
					"component_groups": [
						"damage_false"
					]
				}
			},
			"damage_false": {
				"add": {
					"component_groups": [
						"damage_false"
					]
				},
				"remove": {
					"component_groups": [
						"damage_true"
					]
				}
			},
			"move": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "common"
						},
						"add": {
							"component_groups": [
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "uncommon"
						},
						"add": {
							"component_groups": [
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "rare"
						},
						"add": {
							"component_groups": [
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "epic"
						},
						"add": {
							"component_groups": [
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "legendary"
						},
						"add": {
							"component_groups": [
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "impossible"
						},
						"add": {
							"component_groups": [
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					}
				]
			},
			"not_move": {
				"add": {
					"component_groups": [
						"not_move"
					]
				},
				"remove": {
					"component_groups": [
						"move_common",
						"move_uncommon",
						"move_rare",
						"move_epic",
						"move_legendary",
						"move_impossible"
					]
				}
			},
			"death": {
				"add": {
					"component_groups": [
						"damage_false",
						"not_move",
						"death"
					]
				},
				"remove": {
					"component_groups": [
						"damage_true",
						"move_common",
						"move_uncommon",
						"move_rare",
						"move_epic",
						"move_legendary",
						"move_impossible",
						"melee_attack",
						"wing_attack_prep",
						"wing_attack_exec",
						"phase_change_prep"
					]
				}
			},
			"phase_1": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "common"
						},
						"add": {
							"component_groups": [
								"phase_1",
								"melee_attack",
								"damage_true",
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"phase_2",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "uncommon"
						},
						"add": {
							"component_groups": [
								"phase_1",
								"melee_attack",
								"damage_true",
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"phase_2",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "rare"
						},
						"add": {
							"component_groups": [
								"phase_1",
								"melee_attack",
								"damage_true",
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"phase_2",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "epic"
						},
						"add": {
							"component_groups": [
								"phase_1",
								"melee_attack",
								"damage_true",
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"phase_2",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "legendary"
						},
						"add": {
							"component_groups": [
								"phase_1",
								"melee_attack",
								"damage_true",
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"phase_2",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "impossible"
						},
						"add": {
							"component_groups": [
								"phase_1",
								"melee_attack",
								"damage_true",
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"phase_2",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					}
				]
			},
			"phase_2": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "common"
						},
						"add": {
							"component_groups": [
								"phase_2",
								"melee_attack",
								"damage_true",
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "uncommon"
						},
						"add": {
							"component_groups": [
								"phase_2",
								"melee_attack",
								"damage_true",
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "rare"
						},
						"add": {
							"component_groups": [
								"phase_2",
								"melee_attack",
								"damage_true",
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "epic"
						},
						"add": {
							"component_groups": [
								"phase_2",
								"melee_attack",
								"damage_true",
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "legendary"
						},
						"add": {
							"component_groups": [
								"phase_2",
								"melee_attack",
								"damage_true",
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "impossible"
						},
						"add": {
							"component_groups": [
								"phase_2",
								"melee_attack",
								"damage_true",
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_3",
								"damage_false",
								"not_move"
							]
						}
					}
				]
			},
			"phase_3": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "common"
						},
						"add": {
							"component_groups": [
								"phase_3",
								"melee_attack",
								"damage_true",
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_2",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "uncommon"
						},
						"add": {
							"component_groups": [
								"phase_3",
								"melee_attack",
								"damage_true",
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_2",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "rare"
						},
						"add": {
							"component_groups": [
								"phase_3",
								"melee_attack",
								"damage_true",
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_2",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "epic"
						},
						"add": {
							"component_groups": [
								"phase_3",
								"melee_attack",
								"damage_true",
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_2",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "legendary"
						},
						"add": {
							"component_groups": [
								"phase_3",
								"melee_attack",
								"damage_true",
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_2",
								"damage_false",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "impossible"
						},
						"add": {
							"component_groups": [
								"phase_3",
								"melee_attack",
								"damage_true",
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"phase_1",
								"phase_2",
								"damage_false",
								"not_move"
							]
						}
					}
				]
			},
			"choose_attack": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "common"
						},
						"add": {
							"component_groups": [
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "uncommon"
						},
						"add": {
							"component_groups": [
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "rare"
						},
						"add": {
							"component_groups": [
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "epic"
						},
						"add": {
							"component_groups": [
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "legendary"
						},
						"add": {
							"component_groups": [
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "self",
							"domain": "shapescape_mb:boss_class",
							"value": "impossible"
						},
						"add": {
							"component_groups": [
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_variant",
									"operator": "!=",
									"subject": "self",
									"value": 100
								},
								{
									"test": "has_component",
									"operator": "!=",
									"subject": "self",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 1
								}
							]
						},
						"trigger": "melee_attack"
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_variant",
									"operator": "!=",
									"subject": "self",
									"value": 100
								},
								{
									"test": "has_component",
									"operator": "!=",
									"subject": "self",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 2
								}
							]
						},
						"randomize": [
							{
								"weight": 1,
								"trigger": "melee_attack"
							},
							{
								"weight": 1,
								"trigger": "wing_attack_prep"
							}
						]
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_variant",
									"operator": "!=",
									"subject": "self",
									"value": 100
								},
								{
									"test": "has_component",
									"operator": "!=",
									"subject": "self",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 3
								}
							]
						},
						"randomize": [
							{
								"weight": 1,
								"trigger": "melee_attack"
							},
							{
								"weight": 1,
								"trigger": "wing_attack_prep"
							}
						]
					}
				]
			},
			"melee_attack": {
				"sequence": [
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "common"
								}
							]
						},
						"add": {
							"component_groups": [
								"melee_attack",
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"wing_attack_prep",
								"wing_attack_exec",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "uncommon"
								}
							]
						},
						"add": {
							"component_groups": [
								"melee_attack",
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"wing_attack_prep",
								"wing_attack_exec",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "rare"
								}
							]
						},
						"add": {
							"component_groups": [
								"melee_attack",
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"wing_attack_prep",
								"wing_attack_exec",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "epic"
								}
							]
						},
						"add": {
							"component_groups": [
								"melee_attack",
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"wing_attack_prep",
								"wing_attack_exec",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "legendary"
								}
							]
						},
						"add": {
							"component_groups": [
								"melee_attack",
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"wing_attack_prep",
								"wing_attack_exec",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "impossible"
								}
							]
						},
						"add": {
							"component_groups": [
								"melee_attack",
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"wing_attack_prep",
								"wing_attack_exec",
								"not_move"
							]
						}
					}
				]
			},
			"wing_attack_prep": {
				"sequence": [
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								}
							]
						},
						"add": {
							"component_groups": [
								"wing_attack_prep"
							]
						},
						"remove": {
							"component_groups": [
								"melee_attack",
								"wing_attack_exec"
							]
						}
					}
				]
			},
			"wing_attack_exec": {
				"sequence": [
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "common"
								}
							]
						},
						"add": {
							"component_groups": [
								"wing_attack_exec",
								"not_move"
							]
						},
						"remove": {
							"component_groups": [
								"melee_attack",
								"wing_attack_prep",
								"move_common"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "uncommon"
								}
							]
						},
						"add": {
							"component_groups": [
								"wing_attack_exec",
								"not_move"
							]
						},
						"remove": {
							"component_groups": [
								"melee_attack",
								"wing_attack_prep",
								"move_uncommon"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "rare"
								}
							]
						},
						"add": {
							"component_groups": [
								"wing_attack_exec",
								"not_move"
							]
						},
						"remove": {
							"component_groups": [
								"melee_attack",
								"wing_attack_prep",
								"move_rare"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "epic"
								}
							]
						},
						"add": {
							"component_groups": [
								"wing_attack_exec",
								"not_move"
							]
						},
						"remove": {
							"component_groups": [
								"melee_attack",
								"wing_attack_prep",
								"move_epic"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "legendary"
								}
							]
						},
						"add": {
							"component_groups": [
								"wing_attack_exec",
								"not_move"
							]
						},
						"remove": {
							"component_groups": [
								"melee_attack",
								"wing_attack_prep",
								"move_legendary"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "impossible"
								}
							]
						},
						"add": {
							"component_groups": [
								"wing_attack_exec",
								"not_move"
							]
						},
						"remove": {
							"component_groups": [
								"melee_attack",
								"wing_attack_prep",
								"move_impossible"
							]
						}
					}
				]
			},
			"phase_change_prep": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"no_collision_box"
							]
						},
						"remove": {
							"component_groups": [
								"collision_box"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "has_component",
									"subject": "self",
									"operator": "!=",
									"value": "minecraft:is_sheared"
								}
							]
						},
						"add": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						},
						"remove": {
							"component_groups": [
								"move_common",
								"move_uncommon",
								"move_rare",
								"move_epic",
								"move_legendary",
								"move_impossible",
								"melee_attack",
								"wing_attack_prep",
								"wing_attack_exec",
								"phase_change_exec"
							]
						}
					}
				]
			},
			"phase_change_exec": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"collision_box"
							]
						},
						"remove": {
							"component_groups": [
								"no_collision_box"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 1
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "common"
								}
							]
						},
						"trigger": "phase_2",
						"add": {
							"component_groups": [
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 1
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "uncommon"
								}
							]
						},
						"trigger": "phase_2",
						"add": {
							"component_groups": [
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 1
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "rare"
								}
							]
						},
						"trigger": "phase_2",
						"add": {
							"component_groups": [
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 1
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "epic"
								}
							]
						},
						"trigger": "phase_2",
						"add": {
							"component_groups": [
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 1
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "legendary"
								}
							]
						},
						"trigger": "phase_2",
						"add": {
							"component_groups": [
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 1
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "impossible"
								}
							]
						},
						"trigger": "phase_2",
						"add": {
							"component_groups": [
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 2
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "common"
								}
							]
						},
						"trigger": "phase_3",
						"add": {
							"component_groups": [
								"move_common"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 2
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "uncommon"
								}
							]
						},
						"trigger": "phase_3",
						"add": {
							"component_groups": [
								"move_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 2
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "rare"
								}
							]
						},
						"trigger": "phase_3",
						"add": {
							"component_groups": [
								"move_rare"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 2
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "epic"
								}
							]
						},
						"trigger": "phase_3",
						"add": {
							"component_groups": [
								"move_epic"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 2
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "legendary"
								}
							]
						},
						"trigger": "phase_3",
						"add": {
							"component_groups": [
								"move_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "is_mark_variant",
									"operator": "==",
									"subject": "self",
									"value": 2
								},
								{
									"test": "enum_property",
									"subject": "self",
									"domain": "shapescape_mb:boss_class",
									"value": "impossible"
								}
							]
						},
						"trigger": "phase_3",
						"add": {
							"component_groups": [
								"move_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"phase_change_prep",
								"not_move"
							]
						}
					}
				]
			},
			"shapescape_mb:common_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:common_entity_spawned",
								"damage_true",
								"spawn_delay",
								"collision_box",
								"not_move"
							]
						}
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "common"
						}
					}
				]
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:uncommon_entity_spawned",
								"damage_true",
								"spawn_delay",
								"collision_box",
								"not_move"
							]
						}
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "uncommon"
						}
					}
				]
			},
			"shapescape_mb:rare_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:rare_entity_spawned",
								"damage_true",
								"spawn_delay",
								"collision_box",
								"not_move"
							]
						}
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "rare"
						}
					}
				]
			},
			"shapescape_mb:epic_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:epic_entity_spawned",
								"damage_true",
								"spawn_delay",
								"collision_box",
								"not_move"
							]
						}
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "epic"
						}
					}
				]
			},
			"shapescape_mb:legendary_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:legendary_entity_spawned",
								"damage_true",
								"spawn_delay",
								"collision_box",
								"not_move"
							]
						}
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "legendary"
						}
					}
				]
			},
			"shapescape_mb:impossible_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:impossible_entity_spawned",
								"damage_true",
								"spawn_delay",
								"collision_box",
								"not_move"
							]
						}
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "impossible"
						}
					}
				]
			},
			"player_number_1": {
				"add": {
					"component_groups": [
						"player_number_1"
					]
				},
				"remove": {
					"component_groups": [
						"player_number_2",
						"player_number_3"
					]
				}
			},
			"player_number_2": {
				"add": {
					"component_groups": [
						"player_number_2"
					]
				},
				"remove": {
					"component_groups": [
						"player_number_1",
						"player_number_3"
					]
				}
			},
			"player_number_3": {
				"add": {
					"component_groups": [
						"player_number_3"
					]
				},
				"remove": {
					"component_groups": [
						"player_number_1",
						"player_number_2"
					]
				}
			}
		}
	}
}