{
	"format_version": "1.21.0",
	"minecraft:entity": {
		"description": {
			"identifier": "manalabs_scp:scp173",
			"name_spawn_egg": "Spawn SCP-173",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false,
			"animations": {
				"spawn_controll": "controller.animation.manalabs_scp.scp173.spawn_controll",
				"move_controll": "animation.manalabs_scp.scp173.move_controll",
				"death_animation": "animation.manalabs_scp.scp173.death_animation"
			},
			"scripts": {
				"animate": [
					{
						"spawn_controll": "query.life_time < 5"
					},
					{
						"move_controll": "query.health > 1"
					},
					{
						"death_animation": "query.health == 1"
					}
				]
			}
		},
		"component_groups": {
			"despawn": {
				"minecraft:instant_despawn": {}
			},
			"movement": {
				"minecraft:behavior.nearest_attackable_target": {
					"priority": 1,
					"within_radius": 90,
					"reselect_targets": true,
					"entity_types": [
						{
							"filters": {
								"any_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									}
								]
							},
							"max_dist": 90
						}
					],
					"must_see": false
				},
				"minecraft:behavior.hurt_by_target": {
					"entity_types": {
						"filters": {
							"any_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "player"
								}
							]
						}
					},
					"priority": 2
				},
				"minecraft:behavior.look_at_player": {
					"angle_of_view_vertical": 0,
					"angle_of_view_horizontal": 0,
					"look_distance": 1,
					"probability": 0.0,
					"target_distance": 1,
					"priority": 10
				},
				"minecraft:behavior.float": {
					"priority": 0
				},
				"minecraft:navigation.generic": {
					"can_swim": true,
					"avoid_damage_blocks": true,
					"avoid_water": false,
					"can_path_over_water": true,
					"can_pass_doors": false,
					"can_jump": true,
					"can_walk": true
				},
				"minecraft:movement.basic": {},
				"minecraft:movement": {
					"value": 0.6
				},
				"minecraft:jump.static": {},
				"minecraft:damage_sensor": {
					"triggers": {
						"cause": "projectile",
						"deals_damage": false
					}
				}
			},
			"start_death": {
				"minecraft:type_family": {
					"family": [
						"mob",
						"monster",
						"hostile",
						"manalabs_scp_scp",
						"manalabs_scp_scp173",
						"manalabs_scp_dead"
					]
				},
				"minecraft:damage_sensor": {
					"triggers": {
						"deals_damage": false
					}
				},
				"minecraft:movement": {
					"value": 0.0
				},
				"minecraft:health": {
					"value": 1,
					"max": 1,
					"min": 1
				},
				"minecraft:movement.basic": {
					"max_turn": 0
				},
				"minecraft:pushable": {
					"is_pushable": false,
					"is_pushable_by_piston": false
				},
				"minecraft:knockback_resistance": {
					"value": 1
				},
				"minecraft:attack": {
					"damage": 0
				}
			},
			"death": {
				"minecraft:health": {
					"value": 0,
					"max": 0
				},
				"minecraft:instant_despawn": {}
			},
			"attack_default": {
				"minecraft:variant": {
					"value": 1
				},
				"minecraft:attack": {
					"damage": 200
				},
				"minecraft:behavior.delayed_attack": {
					"priority": 0,
					"cooldown_time": 1.5,
					"reach_multiplier": 2.0,
					"attack_duration": 0.85,
					"hit_delay_pct": 0.5,
					"random_stop_interval": 0,
					"attack_once": false,
					"require_complete_path": false,
					"track_target": false
				},
				"minecraft:follow_range": {
					"value": 90,
					"max": 90
				}
			}
		},
		"components": {
			"minecraft:environment_sensor": {
				"triggers": [
					{
						"event": "despawn",
						"target": "self",
						"filters": {
							"test": "is_difficulty",
							"operator": "==",
							"value": "peaceful"
						}
					}
				]
			},
			"minecraft:despawn": {
				"despawn_from_distance": {}
			},
			"minecraft:breathable": {
				"total_supply": 15,
				"suffocate_time": -20,
				"inhale_time": 0,
				"breathes_air": true,
				"breathes_water": true,
				"breathes_lava": true,
				"breathes_solids": false,
				"generates_bubbles": true
			},
			"minecraft:conditional_bandwidth_optimization": {},
			"minecraft:loot": {
				"table": "loot_tables/manalabs/scp/scp173.loot.json"
			},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:physics": {
				"has_collision": true,
				"has_gravity": true
			},
			"minecraft:collision_box": {
				"height": 2.85,
				"width": 0.7
			},
			"minecraft:knockback_resistance": {
				"value": 0.99,
				"max": 0.99
			},
			"minecraft:push_through": {
				"value": 1
			},
			"minecraft:health": {
				"value": 51,
				"max": 51,
				"min": 1
			},
			"minecraft:attack": {
				"damage": 2
			},
			"minecraft:type_family": {
				"family": [
					"mob",
					"monster",
					"hostile",
					"manalabs_scp_scp",
					"manalabs_scp_scp173"
				]
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"movement",
						"attack_default"
					]
				}
			},
			"despawn": {
				"add": {
					"component_groups": [
						"despawn"
					]
				}
			},
			"start_death": {
				"remove": {
					"component_groups": [
						"movement",
						"attack_default"
					]
				},
				"add": {
					"component_groups": [
						"start_death"
					]
				}
			},
			"death": {
				"add": {
					"component_groups": [
						"death"
					]
				}
			},
			"attack_default": {
				"add": {
					"component_groups": [
						"attack_default"
					]
				}
			}
		}
	}
}