{
	"format_version": "1.20.0",
	"minecraft:entity": {
		"description": {
			"identifier": "shapescape_mb:yeti_boulder",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"scripts": {
				"animate": [
					"ac.particles"
				]
			},
			"animations": {
				"ac.particles": "controller.animation.shapescape_mb.yeti_boulder.particles"
			},
			"properties": {
				"shapescape_mb:boss_class": {
					"type": "enum",
					"default": "common",
					"values": [
						"common",
						"uncommon",
						"rare",
						"epic",
						"legendary",
						"impossible"
					]
				}
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			},
			"hit_ground": {
				"minecraft:is_ignited": {}
			}
		},
		"components": {
			"minecraft:timer": {
				"time": 1.25,
				"looping": true,
				"time_down_event": {
					"event": "hit_ground",
					"target": "self"
				}
			},
			"minecraft:collision_box": {
				"width": 1.0,
				"height": 1.0
			},
			"minecraft:scale": {
				"value": 1.0
			},
			"minecraft:type_family": {
				"family": [
					"shapescape_mb_yeti",
					"projectile"
				]
			},
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"filters": [
							{
								"any_of": [
									{
										"test": "on_ground",
										"subject": "self",
										"value": true
									},
									{
										"test": "in_water",
										"subject": "self",
										"value": true
									}
								]
							}
						],
						"event": "hit_ground",
						"target": "self"
					}
				]
			},
			"minecraft:projectile": {
				"on_hit": {
					"impact_damage": {
						"damage": 1,
						"knockback": true,
						"destroy_on_hit": false
					},
					"definition_event": {
						"event_trigger": {
							"event": "hit_ground",
							"target": "self"
						}
					}
				},
				"destroy_on_hurt": false,
				"uncertainty_base": 1,
				"uncertainty_multiplier": 1,
				"power": 1.75,
				"gravity": 0.0,
				"offset": [
					0,
					4,
					0
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": false
					}
				]
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:physics": {
				"has_gravity": false
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"sequence": [
					{
						"filters": {
							"test": "enum_property",
							"subject": "other",
							"domain": "shapescape_mb:boss_class",
							"value": "common"
						},
						"trigger": "shapescape_mb:common_entity_spawned"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "other",
							"domain": "shapescape_mb:boss_class",
							"value": "uncommon"
						},
						"trigger": "shapescape_mb:uncommon_entity_spawned"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "other",
							"domain": "shapescape_mb:boss_class",
							"value": "rare"
						},
						"trigger": "shapescape_mb:rare_entity_spawned"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "other",
							"domain": "shapescape_mb:boss_class",
							"value": "epic"
						},
						"trigger": "shapescape_mb:epic_entity_spawned"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "other",
							"domain": "shapescape_mb:boss_class",
							"value": "legendary"
						},
						"trigger": "shapescape_mb:legendary_entity_spawned"
					},
					{
						"filters": {
							"test": "enum_property",
							"subject": "other",
							"domain": "shapescape_mb:boss_class",
							"value": "impossible"
						},
						"trigger": "shapescape_mb:impossible_entity_spawned"
					}
				]
			},
			"hit_ground": {
				"add": {
					"component_groups": [
						"hit_ground"
					]
				}
			},
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			},
			"shapescape_mb:common_entity_spawned": {
				"set_property": {
					"shapescape_mb:boss_class": "common"
				}
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"set_property": {
					"shapescape_mb:boss_class": "uncommon"
				}
			},
			"shapescape_mb:rare_entity_spawned": {
				"set_property": {
					"shapescape_mb:boss_class": "rare"
				}
			},
			"shapescape_mb:epic_entity_spawned": {
				"set_property": {
					"shapescape_mb:boss_class": "epic"
				}
			},
			"shapescape_mb:legendary_entity_spawned": {
				"set_property": {
					"shapescape_mb:boss_class": "legendary"
				}
			},
			"shapescape_mb:impossible_entity_spawned": {
				"set_property": {
					"shapescape_mb:boss_class": "impossible"
				}
			}
		}
	}
}