{
	"format_version": "1.21.0",
	"minecraft:entity": {
		"description": {
			"identifier": "shapescape_mb:mammoth_fire_pole",
			"spawn_category": "monster",
			"is_spawnable": true,
			"is_summonable": true
		},
		"component_groups": {
			"shapescape_mb:despawn": {
				"minecraft:instant_despawn": {}
			},
			"shapescape_mb:common_entity_spawned": {
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 5,
					"damage_range": 1.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:uncommon_entity_spawned": {
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 11,
					"damage_range": 1.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:rare_entity_spawned": {
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 17,
					"damage_range": 1.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:epic_entity_spawned": {
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 23,
					"damage_range": 1.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:legendary_entity_spawned": {
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 29,
					"damage_range": 1.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:impossible_entity_spawned": {
				"minecraft:area_attack": {
					"cause": "entity_attack",
					"damage_per_tick": 35,
					"damage_range": 1.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"
									}
								]
							}
						]
					}
				}
			}
		},
		"components": {
			"minecraft:ambient_sound_interval": {
				"event_name": "ambient",
				"range": 2,
				"value": 1
			},
			"minecraft:timer": {
				"time": [
					15,
					20
				],
				"looping": true,
				"time_down_event": {
					"event": "shapescape_mb:despawn",
					"target": "self"
				}
			},
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"filters": {
							"any_of": [
								{
									"test": "in_water",
									"value": true
								},
								{
									"test": "is_underwater",
									"value": true
								}
							]
						},
						"event": "shapescape_mb:despawn",
						"target": "self"
					}
				]
			},
			"minecraft:behavior.move_to_random_block": {
				"priority": 0,
				"block_distance": 16,
				"within_radius": 1
			},
			"minecraft:nameable": {},
			"minecraft:type_family": {
				"family": [
					"monster",
					"mob",
					"shapescape_mb_mammoth_fire_pole",
					"shapescape_mb_mammoth"
				]
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": 0
			},
			"minecraft:collision_box": {
				"width": 0.0,
				"height": 0.0
			},
			"minecraft:health": {
				"value": 10000,
				"max": 10000
			},
			"minecraft:movement": {
				"value": 0.25
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": "no"
					}
				]
			},
			"minecraft:fire_immune": {},
			"minecraft:navigation.climb": {
				"can_path_over_water": true
			},
			"minecraft:movement.basic": {},
			"minecraft:can_climb": {},
			"minecraft:follow_range": {
				"value": 40,
				"max": 40
			},
			"minecraft:is_hidden_when_invisible": {},
			"minecraft:despawn": {
				"despawn_from_distance": {}
			},
			"minecraft:physics": {},
			"minecraft:knockback_resistance": {
				"value": 1,
				"max": 1
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:conditional_bandwidth_optimization": {}
		},
		"events": {
			"minecraft:entity_spawned": {
				"trigger": "shapescape_mb:common_entity_spawned"
			},
			"shapescape_mb:despawn": {
				"add": {
					"component_groups": [
						"shapescape_mb:despawn"
					]
				}
			},
			"shapescape_mb:common_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:common_entity_spawned"
					]
				}
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:uncommon_entity_spawned"
					]
				}
			},
			"shapescape_mb:rare_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:rare_entity_spawned"
					]
				}
			},
			"shapescape_mb:epic_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:epic_entity_spawned"
					]
				}
			},
			"shapescape_mb:legendary_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:legendary_entity_spawned"
					]
				}
			},
			"shapescape_mb:impossible_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:impossible_entity_spawned"
					]
				}
			}
		}
	}
}