{
	"format_version": "1.20.80",
	"minecraft:entity": {
		"description": {
			"identifier": "shapescape_mb:mammoth_boss",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"animations": {
				"ac.special_attack": "controller.animation.shapescape_mb.mammoth_boss.special_attack",
				"ac.phase": "controller.animation.shapescape_mb.mammoth_boss.phase",
				"ac.death": "controller.animation.shapescape_mb.mammoth_boss.death",
				"ac.resist_suffocation": "controller.animation.shapescape_mb.mammoth_boss.resist_suffocation"
			},
			"scripts": {
				"animate": [
					"ac.special_attack",
					"ac.phase",
					"ac.death",
					"ac.resist_suffocation"
				]
			},
			"properties": {
				"shapescape_mb:charge_body_rotation": {
					"client_sync": true,
					"default": 0.0,
					"range": [
						-360.0,
						360.0
					],
					"type": "float"
				},
				"shapescape_mb:mammoth_state": {
					"client_sync": true,
					"type": "enum",
					"default": "spawn",
					"values": [
						"spawn",
						"disabled",
						"ready",
						"charge",
						"stomp",
						"magma",
						"earthquake",
						"death"
					]
				},
				"shapescape_mb:mammoth_phase": {
					"client_sync": true,
					"type": "int",
					"default": 1,
					"range": [
						1,
						3
					]
				},
				"shapescape_mb:mammoth_phase_counter": {
					"client_sync": true,
					"type": "int",
					"default": 1,
					"range": [
						0,
						100
					]
				},
				"shapescape_mb:boss_class": {
					"type": "enum",
					"default": "common",
					"values": [
						"common",
						"uncommon",
						"rare",
						"epic",
						"legendary",
						"impossible"
					]
				}
			}
		},
		"component_groups": {
			"shapescape_mb:spawn_delay": {
				"minecraft:is_baby": {},
				"minecraft:timer": {
					"time": 1.75,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:start",
						"target": "self"
					}
				}
			},
			"shapescape_mb:unlock_movement": {
				"minecraft:behavior.delayed_attack": {
					"priority": 4,
					"attack_duration": 0.75,
					"attack_once": false,
					"hit_delay_pct": 0.3,
					"speed_multiplier": 1.0,
					"reach_multiplier": 1.65
				},
				"minecraft:movement": {
					"value": 0.27,
					"max": 0.27
				}
			},
			"shapescape_mb:lock_movement": {
				"minecraft:movement": {
					"value": 0.0,
					"max": 0.0
				}
			},
			"shapescape_mb:despawn": {
				"minecraft:instant_despawn": {}
			},
			"shapescape_mb:death": {
				"minecraft:movement": {
					"value": 0.0,
					"max": 0.0
				}
			},
			"shapescape_mb:mammoth_phase_3_shield_off": {
				"minecraft:timer": {
					"time": 20,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:mammoth_phase_3_shield_on",
						"target": "self"
					}
				},
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 1,
					"damage_range": 0.0001,
					"entity_filter": {
						"any_of": [
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "mob"
									},
									{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "shapescape_mb_mammoth"
									}
								]
							},
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_ability",
										"subject": "other",
										"operator": "not",
										"value": "instabuild"
									}
								]
							}
						]
					}
				}
			},
			"shapescape_mb:change_phase_prep": {
				"minecraft:is_illager_captain": {},
				"minecraft:timer": {
					"time": 1.75,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:change_phase_exec",
						"target": "self"
					}
				}
			},
			"shapescape_mb:mammoth_phase_3_shield_on_common": {
				"minecraft:is_sheared": {},
				"minecraft:timer": {
					"time": 20,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:mammoth_phase_3_shield_off",
						"target": "self"
					}
				},
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 1,
					"damage_range": 5,
					"entity_filter": {
						"any_of": [
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "mob"
									},
									{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "shapescape_mb_mammoth"
									}
								]
							},
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_ability",
										"subject": "other",
										"operator": "not",
										"value": "instabuild"
									}
								]
							}
						]
					}
				}
			},
			"shapescape_mb:mammoth_phase_3_shield_on_uncommon": {
				"minecraft:is_sheared": {},
				"minecraft:timer": {
					"time": 20,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:mammoth_phase_3_shield_off",
						"target": "self"
					}
				},
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 4,
					"damage_range": 5,
					"entity_filter": {
						"any_of": [
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "mob"
									},
									{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "shapescape_mb_mammoth"
									}
								]
							},
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_ability",
										"subject": "other",
										"operator": "not",
										"value": "instabuild"
									}
								]
							}
						]
					}
				}
			},
			"shapescape_mb:mammoth_phase_3_shield_on_rare": {
				"minecraft:is_sheared": {},
				"minecraft:timer": {
					"time": 20,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:mammoth_phase_3_shield_off",
						"target": "self"
					}
				},
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 7,
					"damage_range": 5,
					"entity_filter": {
						"any_of": [
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "mob"
									},
									{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "shapescape_mb_mammoth"
									}
								]
							},
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_ability",
										"subject": "other",
										"operator": "not",
										"value": "instabuild"
									}
								]
							}
						]
					}
				}
			},
			"shapescape_mb:mammoth_phase_3_shield_on_epic": {
				"minecraft:is_sheared": {},
				"minecraft:timer": {
					"time": 20,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:mammoth_phase_3_shield_off",
						"target": "self"
					}
				},
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 10,
					"damage_range": 5,
					"entity_filter": {
						"any_of": [
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "mob"
									},
									{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "shapescape_mb_mammoth"
									}
								]
							},
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_ability",
										"subject": "other",
										"operator": "not",
										"value": "instabuild"
									}
								]
							}
						]
					}
				}
			},
			"shapescape_mb:mammoth_phase_3_shield_on_legendary": {
				"minecraft:is_sheared": {},
				"minecraft:timer": {
					"time": 20,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:mammoth_phase_3_shield_off",
						"target": "self"
					}
				},
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 13,
					"damage_range": 5,
					"entity_filter": {
						"any_of": [
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "mob"
									},
									{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "shapescape_mb_mammoth"
									}
								]
							},
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_ability",
										"subject": "other",
										"operator": "not",
										"value": "instabuild"
									}
								]
							}
						]
					}
				}
			},
			"shapescape_mb:mammoth_phase_3_shield_on_impossible": {
				"minecraft:is_sheared": {},
				"minecraft:timer": {
					"time": 20,
					"looping": true,
					"time_down_event": {
						"event": "shapescape_mb:mammoth_phase_3_shield_off",
						"target": "self"
					}
				},
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 16,
					"damage_range": 5,
					"entity_filter": {
						"any_of": [
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "mob"
									},
									{
										"test": "is_family",
										"subject": "other",
										"operator": "!=",
										"value": "shapescape_mb_mammoth"
									}
								]
							},
							{
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									},
									{
										"test": "has_ability",
										"subject": "other",
										"operator": "not",
										"value": "instabuild"
									}
								]
							}
						]
					}
				}
			},
			"shapescape_mb:common_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:mammoth_boss.common.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 500,
					"max": 500,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 15
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_mammoth_boss",
						"shapescape_mb_mammoth",
						"mob",
						"monster",
						"shapescape_mb_boss_class_common"
					]
				},
				"minecraft:fire_immune": {}
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:mammoth_boss.uncommon.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 650,
					"max": 650,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 20
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_mammoth_boss",
						"shapescape_mb_mammoth",
						"mob",
						"monster",
						"shapescape_mb_boss_class_uncommon"
					]
				},
				"minecraft:fire_immune": {}
			},
			"shapescape_mb:rare_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:mammoth_boss.rare.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 800,
					"max": 800,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 27
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_mammoth_boss",
						"shapescape_mb_mammoth",
						"mob",
						"monster",
						"shapescape_mb_boss_class_rare"
					]
				},
				"minecraft:fire_immune": {}
			},
			"shapescape_mb:epic_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:mammoth_boss.epic.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 1000,
					"max": 1000,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 35
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_mammoth_boss",
						"shapescape_mb_mammoth",
						"mob",
						"monster",
						"shapescape_mb_boss_class_epic"
					]
				},
				"minecraft:fire_immune": {}
			},
			"shapescape_mb:legendary_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:mammoth_boss.legendary.name",
					"should_darken_sky": false
				},
				"minecraft:health": {
					"value": 1200,
					"max": 1200,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 42
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_mammoth_boss",
						"shapescape_mb_mammoth",
						"mob",
						"monster",
						"shapescape_mb_boss_class_legendary"
					]
				},
				"minecraft:fire_immune": {}
			},
			"shapescape_mb:impossible_entity_spawned": {
				"minecraft:boss": {
					"hud_range": 55,
					"name": "entity.shapescape_mb:mammoth_boss.impossible.name",
					"should_darken_sky": true
				},
				"minecraft:health": {
					"value": 3000,
					"max": 3000,
					"min": 1
				},
				"minecraft:attack": {
					"damage": 50
				},
				"minecraft:type_family": {
					"family": [
						"shapescape_mb_mammoth_boss",
						"shapescape_mb_mammoth",
						"mob",
						"monster",
						"shapescape_mb_boss_class_impossible"
					]
				},
				"minecraft:fire_immune": {}
			}
		},
		"components": {
			"minecraft:area_attack": {
				"cause": "entity_attack",
				"damage_per_tick": 1,
				"damage_range": 0.0001,
				"entity_filter": {
					"any_of": [
						{
							"all_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "mob"
								},
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "shapescape_mb_mammoth"
								}
							]
						},
						{
							"all_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "player"
								},
								{
									"test": "has_ability",
									"subject": "other",
									"operator": "not",
									"value": "instabuild"
								}
							]
						}
					]
				}
			},
			"minecraft:experience_reward": {
				"on_death": 550
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "entity_attack",
						"on_damage": {
							"filters": [
								{
									"test": "has_component",
									"operator": "==",
									"subject": "self",
									"value": "minecraft:is_sheared"
								}
							]
						},
						"damage_multiplier": 0.0
					},
					{
						"cause": "projectile",
						"on_damage": {
							"filters": [
								{
									"test": "has_component",
									"operator": "!=",
									"subject": "self",
									"value": "minecraft:is_sheared"
								}
							]
						},
						"damage_multiplier": 0
					},
					{
						"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"
						}
					}
				]
			},
			"minecraft:collision_box": {
				"height": 3.0,
				"width": 3.5
			},
			"minecraft:movement.basic": {},
			"minecraft:navigation.walk": {},
			"minecraft:movement": {
				"value": 0.0,
				"max": 0.0
			},
			"minecraft:jump.static": {
				"jump_power": 0.42
			},
			"minecraft:mark_variant": {
				"value": 0
			},
			"minecraft:variant": {
				"value": 0
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 1,
				"entity_types": [
					{
						"filters": {
							"test": "is_family",
							"subject": "other",
							"operator": "!=",
							"value": "shapescape_mb_mammoth"
						}
					}
				]
			},
			"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": true,
				"entity_types": [
					{
						"filters": {
							"all_of": [
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "shapescape_mb_mammoth"
								},
								{
									"test": "is_family",
									"subject": "other",
									"operator": "!=",
									"value": "inanimate"
								},
								{
									"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:behavior.random_stroll": {
				"interval": 120,
				"xz_dist": 6,
				"y_dist": 3,
				"priority": 9,
				"speed_multiplier": 0.7
			},
			"minecraft:knockback_resistance": {
				"max": 100,
				"value": 100
			},
			"minecraft:follow_range": {
				"max": 100,
				"value": 100
			},
			"minecraft:physics": {
				"has_gravity": true
			},
			"minecraft:nameable": {}
		},
		"events": {
			"minecraft:entity_spawned": {
				"trigger": "shapescape_mb:common_entity_spawned"
			},
			"shapescape_mb:start": {
				"remove": {
					"component_groups": [
						"shapescape_mb:spawn_delay"
					]
				},
				"trigger": "shapescape_mb:special_attack_ready"
			},
			"shapescape_mb:special_attack_ready": {
				"trigger": "shapescape_mb:unlock_movement",
				"set_property": {
					"shapescape_mb:mammoth_state": "ready"
				}
			},
			"shapescape_mb:special_attack_charge": {
				"trigger": "shapescape_mb:lock_movement",
				"set_property": {
					"shapescape_mb:mammoth_state": "charge"
				}
			},
			"shapescape_mb:special_attack_stomp": {
				"trigger": "shapescape_mb:lock_movement",
				"set_property": {
					"shapescape_mb:mammoth_state": "stomp"
				}
			},
			"shapescape_mb:special_attack_magma": {
				"trigger": "shapescape_mb:lock_movement",
				"set_property": {
					"shapescape_mb:mammoth_state": "magma"
				}
			},
			"shapescape_mb:special_attack_eqrthquake": {
				"trigger": "shapescape_mb:lock_movement",
				"set_property": {
					"shapescape_mb:mammoth_state": "eqrthquake"
				}
			},
			"shapescape_mb:lock_movement": {
				"remove": {
					"component_groups": [
						"shapescape_mb:unlock_movement"
					]
				},
				"add": {
					"component_groups": [
						"shapescape_mb:lock_movement"
					]
				}
			},
			"shapescape_mb:unlock_movement": {
				"remove": {
					"component_groups": [
						"shapescape_mb:lock_movement"
					]
				},
				"add": {
					"component_groups": [
						"shapescape_mb:unlock_movement"
					]
				}
			},
			"shapescape_mb:add_mammoth_phase_counter": {
				"set_property": {
					"shapescape_mb:mammoth_phase_counter": "q.property('shapescape_mb:mammoth_phase_counter') + 1"
				}
			},
			"shapescape_mb:change_phase_prep": {
				"trigger": "shapescape_mb:lock_movement",
				"add": {
					"component_groups": [
						"shapescape_mb:change_phase_prep"
					]
				}
			},
			"shapescape_mb:change_phase_exec": {
				"sequence": [
					{
						"filters": {
							"all_of": [
								{
									"test": "int_property",
									"subject": "self",
									"operator": "==",
									"domain": "shapescape_mb:mammoth_phase",
									"value": 1
								}
							]
						},
						"trigger": "shapescape_mb:unlock_movement",
						"remove": {
							"component_groups": [
								"shapescape_mb:change_phase_prep"
							]
						},
						"set_property": {
							"shapescape_mb:mammoth_phase": 2,
							"shapescape_mb:mammoth_phase_counter": 0
						}
					},
					{
						"filters": {
							"all_of": [
								{
									"test": "int_property",
									"subject": "self",
									"operator": "==",
									"domain": "shapescape_mb:mammoth_phase",
									"value": 2
								}
							]
						},
						"add": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_off"
							]
						},
						"trigger": "shapescape_mb:unlock_movement",
						"remove": {
							"component_groups": [
								"shapescape_mb:change_phase_prep"
							]
						},
						"set_property": {
							"shapescape_mb:mammoth_phase": 3,
							"shapescape_mb:mammoth_phase_counter": 0
						}
					}
				]
			},
			"shapescape_mb:mammoth_phase_3_shield_on": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"domain": "shapescape_mb:boss_class",
							"subject": "self",
							"value": "common"
						},
						"add": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_on_common"
							]
						},
						"remove": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_off"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"domain": "shapescape_mb:boss_class",
							"subject": "self",
							"value": "uncommon"
						},
						"add": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_on_uncommon"
							]
						},
						"remove": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_off"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"domain": "shapescape_mb:boss_class",
							"subject": "self",
							"value": "rare"
						},
						"add": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_on_rare"
							]
						},
						"remove": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_off"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"domain": "shapescape_mb:boss_class",
							"subject": "self",
							"value": "epic"
						},
						"add": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_on_epic"
							]
						},
						"remove": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_off"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"domain": "shapescape_mb:boss_class",
							"subject": "self",
							"value": "legendary"
						},
						"add": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_on_legendary"
							]
						},
						"remove": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_off"
							]
						}
					},
					{
						"filters": {
							"test": "enum_property",
							"domain": "shapescape_mb:boss_class",
							"subject": "self",
							"value": "impossible"
						},
						"add": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_on_impossible"
							]
						},
						"remove": {
							"component_groups": [
								"shapescape_mb:mammoth_phase_3_shield_off"
							]
						}
					}
				]
			},
			"shapescape_mb:mammoth_phase_3_shield_off": {
				"add": {
					"component_groups": [
						"shapescape_mb:mammoth_phase_3_shield_off"
					]
				},
				"remove": {
					"component_groups": [
						"shapescape_mb:mammoth_phase_3_shield_on_common",
						"shapescape_mb:mammoth_phase_3_shield_on_uncommon",
						"shapescape_mb:mammoth_phase_3_shield_on_rare",
						"shapescape_mb:mammoth_phase_3_shield_on_epic",
						"shapescape_mb:mammoth_phase_3_shield_on_legendary",
						"shapescape_mb:mammoth_phase_3_shield_on_impossible"
					]
				}
			},
			"shapescape_mb:death": {
				"trigger": "shapescape_mb:lock_movement",
				"set_property": {
					"shapescape_mb:mammoth_state": "death"
				},
				"remove": {
					"component_groups": [
						"shapescape_mb:mammoth_phase_3_shield_off",
						"shapescape_mb:mammoth_phase_3_shield_on_common",
						"shapescape_mb:mammoth_phase_3_shield_on_uncommon",
						"shapescape_mb:mammoth_phase_3_shield_on_rare",
						"shapescape_mb:mammoth_phase_3_shield_on_epic",
						"shapescape_mb:mammoth_phase_3_shield_on_legendary",
						"shapescape_mb:mammoth_phase_3_shield_on_impossible"
					]
				}
			},
			"shapescape_mb:despawn": {
				"add": {
					"component_groups": [
						"shapescape_mb:despawn"
					]
				}
			},
			"shapescape_mb:common_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:common_entity_spawned",
								"shapescape_mb:spawn_delay"
							]
						},
						"trigger": "shapescape_mb:lock_movement"
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "common"
						}
					}
				]
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:uncommon_entity_spawned",
								"shapescape_mb:spawn_delay"
							]
						},
						"trigger": "shapescape_mb:lock_movement"
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "uncommon"
						}
					}
				]
			},
			"shapescape_mb:rare_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:rare_entity_spawned",
								"shapescape_mb:spawn_delay"
							]
						},
						"trigger": "shapescape_mb:lock_movement"
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "rare"
						}
					}
				]
			},
			"shapescape_mb:epic_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:epic_entity_spawned",
								"shapescape_mb:spawn_delay"
							]
						},
						"trigger": "shapescape_mb:lock_movement"
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "epic"
						}
					}
				]
			},
			"shapescape_mb:legendary_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:legendary_entity_spawned",
								"shapescape_mb:spawn_delay"
							]
						},
						"trigger": "shapescape_mb:lock_movement"
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "legendary"
						}
					}
				]
			},
			"shapescape_mb:impossible_entity_spawned": {
				"sequence": [
					{
						"add": {
							"component_groups": [
								"shapescape_mb:impossible_entity_spawned",
								"shapescape_mb:spawn_delay"
							]
						},
						"trigger": "shapescape_mb:lock_movement"
					},
					{
						"set_property": {
							"shapescape_mb:boss_class": "impossible"
						}
					}
				]
			}
		}
	}
}