{
	"format_version": "1.20.80",
	"minecraft:entity": {
		"description": {
			"identifier": "shapescape_mb:golem_boss_eye",
			"is_spawnable": false,
			"is_summonable": false,
			"is_experimental": false
		},
		"component_groups": {
			"shapescape_mb:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"mob",
					"shapescape_mb_golem_boss_eye"
				]
			},
			"minecraft:health": {
				"value": 9999999,
				"max": 9999999
			},
			"minecraft:collision_box": {
				"height": 0.8,
				"width": 0.8
			},
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"event": "shapescape_mb:despawn",
						"target": "self",
						"filters": {
							"test": "is_riding",
							"value": false
						}
					}
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "projectile",
						"on_damage": {
							"filters": {
								"any_of": [
									{
										"all_of": [
											{
												"test": "is_family",
												"subject": "other",
												"value": "mob"
											},
											{
												"test": "is_family",
												"subject": "other",
												"operator": "!=",
												"value": "shapescape_mb_golem"
											}
										]
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									}
								]
							}
						}
					},
					{
						"deals_damage": false
					}
				]
			}
		},
		"events": {
			"shapescape_mb:despawn": {
				"add": {
					"component_groups": [
						"shapescape_mb:despawn"
					]
				}
			}
		}
	}
}