{
	"format_version": "1.16.0",
	"minecraft:entity": {
		"description": {
			"identifier": "shapescape_mb:golem_laser",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false,
			"properties": {
				"shapescape_mb:boss_class": {
					"type": "enum",
					"default": "common",
					"values": [
						"common",
						"uncommon",
						"rare",
						"epic",
						"legendary",
						"impossible"
					]
				}
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			},
			"shapescape_mb:common_entity_spawned": {
				"minecraft:projectile": {
					"on_hit": {
						"impact_damage": {
							"damage": 5,
							"knockback": false,
							"destroy_on_hit": false
						}
					},
					"reflect_on_hurt": false,
					"knockback": false,
					"destroy_on_hurt": false,
					"uncertainty_base": 0,
					"uncertainty_multiplier": 0,
					"power": 4,
					"gravity": 0.0001,
					"offset": [
						0,
						1.8,
						0
					]
				}
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"minecraft:projectile": {
					"on_hit": {
						"impact_damage": {
							"damage": 8,
							"knockback": false,
							"destroy_on_hit": false
						}
					},
					"reflect_on_hurt": false,
					"knockback": false,
					"destroy_on_hurt": false,
					"uncertainty_base": 0,
					"uncertainty_multiplier": 0,
					"power": 4,
					"gravity": 0.0001,
					"offset": [
						0,
						1.8,
						0
					]
				}
			},
			"shapescape_mb:rare_entity_spawned": {
				"minecraft:projectile": {
					"on_hit": {
						"impact_damage": {
							"damage": 12,
							"knockback": false,
							"destroy_on_hit": false
						}
					},
					"reflect_on_hurt": false,
					"knockback": false,
					"destroy_on_hurt": false,
					"uncertainty_base": 0,
					"uncertainty_multiplier": 0,
					"power": 4,
					"gravity": 0.0001,
					"offset": [
						0,
						1.8,
						0
					]
				}
			},
			"shapescape_mb:epic_entity_spawned": {
				"minecraft:projectile": {
					"on_hit": {
						"impact_damage": {
							"damage": 15,
							"knockback": false,
							"destroy_on_hit": false
						}
					},
					"reflect_on_hurt": false,
					"knockback": false,
					"destroy_on_hurt": false,
					"uncertainty_base": 0,
					"uncertainty_multiplier": 0,
					"power": 4,
					"gravity": 0.0001,
					"offset": [
						0,
						1.8,
						0
					]
				}
			},
			"shapescape_mb:legendary_entity_spawned": {
				"minecraft:projectile": {
					"on_hit": {
						"impact_damage": {
							"damage": 20,
							"knockback": false,
							"destroy_on_hit": false
						}
					},
					"reflect_on_hurt": false,
					"knockback": false,
					"destroy_on_hurt": false,
					"uncertainty_base": 0,
					"uncertainty_multiplier": 0,
					"power": 4,
					"gravity": 0.0001,
					"offset": [
						0,
						1.8,
						0
					]
				}
			},
			"shapescape_mb:impossible_entity_spawned": {
				"minecraft:projectile": {
					"on_hit": {
						"impact_damage": {
							"damage": 30,
							"knockback": false,
							"destroy_on_hit": false
						}
					},
					"reflect_on_hurt": false,
					"knockback": false,
					"destroy_on_hurt": false,
					"uncertainty_base": 0,
					"uncertainty_multiplier": 0,
					"power": 4,
					"gravity": 0.0001,
					"offset": [
						0,
						1.8,
						0
					]
				}
			}
		},
		"components": {
			"minecraft:timer": {
				"time": 0.4,
				"looping": true,
				"time_down_event": {
					"event": "despawn",
					"target": "self"
				}
			},
			"minecraft:addrider": {
				"entity_type": "shapescape_mb:golem_laser_break"
			},
			"minecraft:rideable": {
				"controlling_seat": 0,
				"crouching_skip_interact": true,
				"family_types": [
					"shapescape_mb_golem_laser_break"
				],
				"pull_in_entities": false,
				"rider_can_interact": false,
				"seat_count": 1
			},
			"minecraft:collision_box": {
				"width": 0.075,
				"height": 0.075
			},
			"minecraft:type_family": {
				"family": [
					"shapescape_mb_golem",
					"projectile"
				]
			},
			"minecraft:projectile": {
				"on_hit": {
					"impact_damage": {
						"damage": 5,
						"knockback": false,
						"destroy_on_hit": false
					}
				},
				"reflect_on_hurt": false,
				"knockback": false,
				"destroy_on_hurt": false,
				"uncertainty_base": 0,
				"uncertainty_multiplier": 0,
				"power": 4,
				"gravity": 0.0001,
				"offset": [
					0,
					1.8,
					0
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "all",
						"deals_damage": 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"
					}
				]
			},
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			},
			"shapescape_mb:common_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:common_entity_spawned"
					]
				},
				"set_property": {
					"shapescape_mb:boss_class": "common"
				}
			},
			"shapescape_mb:uncommon_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:uncommon_entity_spawned"
					]
				},
				"set_property": {
					"shapescape_mb:boss_class": "uncommon"
				}
			},
			"shapescape_mb:rare_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:rare_entity_spawned"
					]
				},
				"set_property": {
					"shapescape_mb:boss_class": "rare"
				}
			},
			"shapescape_mb:epic_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:epic_entity_spawned"
					]
				},
				"set_property": {
					"shapescape_mb:boss_class": "epic"
				}
			},
			"shapescape_mb:legendary_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:legendary_entity_spawned"
					]
				},
				"set_property": {
					"shapescape_mb:boss_class": "legendary"
				}
			},
			"shapescape_mb:impossible_entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape_mb:impossible_entity_spawned"
					]
				},
				"set_property": {
					"shapescape_mb:boss_class": "impossible"
				}
			}
		}
	}
}