{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:mtf_epsilon_11",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false,
			"scripts": {
				"animate": [
					"retreat"
				]
			},
			"animations": {
				"retreat": "controller.animation.scpclassifiedmtfepsilon11.retreat"
			}
		},
		"component_groups": {
			"ntfgrenade": {
				"minecraft:shooter": {
					"def": "scpcf:ntf_grenade",
					"aux_val": 0
				},
				"minecraft:behavior.ranged_attack": {
					"priority": 0,
					"burst_interval": 1,
					"burst_shots": 60,
					"speed_multiplier": 0.5,
					"attack_interval_min": 0.8,
					"attack_interval_max": 1,
					"attack_radius": 20
				},
				"minecraft:timer": {
					"looping": true,
					"time": 1,
					"time_down_event": {
						"event": "minecraft:entity_spawned"
					}
				}
			},
			"retreat": {
				"minecraft:behavior.panic": {
					"priority": 1,
					"force": true,
					"speed_multiplier": 0.8
				},
				"minecraft:timer": {
					"looping": true,
					"time": 3,
					"time_down_event": {
						"event": "minecraft:entity_spawned"
					}
				}
			},
			"minecraft:mode_switcher": {
				"minecraft:target_nearby_sensor": {
					"inside_range": 1.5,
					"outside_range": 2,
					"on_inside_range": {
						"event": "minecraft:to_melee_attack",
						"target": "self"
					},
					"on_outside_range": {
						"event": "minecraft:to_ranged_attack",
						"target": "self"
					}
				},
				"minecraft:behavior.nearest_attackable_target": {
					"entity_types": [
						{
							"filters": {
								"other_with_families": [
									"monster",
									"recontainhuman",
									"scp",
									"scp149",
									"scp682",
									"066eric",
									"scp1145",
									"scp705entity",
									"scp1507recontain"
								]
							}
						}
					],
					"must_see": true,
					"within_radius": 20
				}
			},
			"minecraft:ranged_attack": {
				"minecraft:behavior.nearest_attackable_target": {
					"entity_types": [
						{
							"filters": {
								"other_with_families": [
									"monster",
									"recontainhuman",
									"scp",
									"scp149",
									"scp682",
									"066eric",
									"scp1145",
									"scp705entity",
									"scp1507recontain"
								]
							}
						}
					],
					"must_see": true,
					"within_radius": 20
				},
				"minecraft:behavior.ranged_attack": {
					"priority": 1,
					"burst_interval": 0.4,
					"burst_shots": 60,
					"speed_multiplier": 0.5,
					"attack_interval_min": 0.5,
					"attack_interval_max": 0.2,
					"attack_radius": 20
				},
				"minecraft:shooter": {
					"def": "scpcf:mtf_e11_sr_bullet",
					"aux_val": 0
				},
				"minecraft:timer": {
					"looping": true,
					"time": [
						10,
						20
					],
					"time_down_event": {
						"event": "ntfgrenade"
					}
				}
			},
			"minecraft:melee_attack": {
				"minecraft:behavior.melee_attack": {
					"priority": 1,
					"reach_multiplier": 2.5,
					"speed_multiplier": 0.7
				},
				"minecraft:behavior.nearest_attackable_target": {
					"entity_types": [
						{
							"filters": {
								"other_with_families": [
									"monster",
									"recontainhuman",
									"scp",
									"scp149",
									"scp682",
									"066eric",
									"scp1145",
									"scp705entity",
									"scp1507recontain"
								]
							}
						}
					],
					"must_see": true,
					"within_radius": 20
				},
				"minecraft:attack": {
					"damage": 4
				},
				"minecraft:timer": {
					"looping": true,
					"time": 5,
					"time_down_event": {
						"event": "goback"
					}
				}
			},
			"switchtorange": {
				"minecraft:timer": {
					"looping": true,
					"time": 1,
					"time_down_event": {
						"event": "minecraft:entity_spawned"
					}
				},
				"minecraft:behavior.avoid_mob_type": {
					"entity_types": [
						{
							"filters": {
								"any_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp682"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "aquaticscp"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp096"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp1145"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp594"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp705entity"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "066eric"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "ntfgrenade"
									}
								]
							}
						}
					],
					"priority": 1,
					"max_dist": 3,
					"max_flee": 4,
					"sprint_speed_multiplier": 0.6,
					"walk_speed_multiplier": 0.6
				}
			},
			"scp008zombie": {
				"minecraft:transformation": {
					"into": "scpcf:scp_008_zombie_ntf"
				}
			},
			"scp049zombie": {
				"minecraft:transformation": {
					"into": "scpcf:scp_049_zombie_ntf"
				}
			},
			"dontopenirondoors": {
				"minecraft:navigation.walk": {
					"is_amphibious": false,
					"avoid_portals": false,
					"avoid_powder_snow": false,
					"avoid_sun": false,
					"avoid_water": false,
					"avoid_damage_blocks": false,
					"can_break_doors": false,
					"can_open_doors": false,
					"can_pass_doors": true,
					"can_path_over_water": true,
					"can_path_over_lava": false,
					"can_path_from_air": false,
					"can_sink": false,
					"can_walk_in_lava": false,
					"can_open_iron_doors": false,
					"blocks_to_avoid": [
						{
							"name": "scpcf:scp_106_corrosion"
						}
					]
				},
				"minecraft:interact": {
					"interactions": [
						{
							"on_interact": {
								"event": "openirondoors",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:dont_open_iron_doors_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Allow MTF Unit To Open Iron Doors",
							"play_sounds": "armor.equip_generic"
						},
						{
							"on_interact": {
								"event": "stopmoving",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:stand_still_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Stop MTF Unit From Moving",
							"play_sounds": "armor.equip_generic"
						},
						{
							"on_interact": {
								"event": "move",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:move_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Allow MTF Unit To Move",
							"play_sounds": "armor.equip_generic"
						}
					]
				}
			},
			"openirondoors": {
				"minecraft:navigation.walk": {
					"is_amphibious": false,
					"avoid_portals": false,
					"avoid_powder_snow": false,
					"avoid_sun": false,
					"avoid_water": false,
					"avoid_damage_blocks": false,
					"can_break_doors": false,
					"can_open_doors": true,
					"can_pass_doors": true,
					"can_path_over_water": true,
					"can_path_over_lava": false,
					"can_path_from_air": false,
					"can_sink": false,
					"can_walk_in_lava": false,
					"can_open_iron_doors": true,
					"blocks_to_avoid": [
						{
							"name": "scpcf:scp_106_corrosion"
						}
					]
				},
				"minecraft:interact": {
					"interactions": [
						{
							"on_interact": {
								"event": "dontopenirondoors",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:dont_open_iron_doors_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Stop MTF Unit From Opening Iron Doors",
							"play_sounds": "armor.equip_generic"
						},
						{
							"on_interact": {
								"event": "stopmoving",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:stand_still_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Stop MTF Unit From Moving",
							"play_sounds": "armor.equip_generic"
						},
						{
							"on_interact": {
								"event": "move",
								"filters": {
									"all_of": [
										{
											"test": "is_family",
											"subject": "other",
											"value": "player"
										},
										{
											"test": "has_equipment",
											"domain": "hand",
											"subject": "other",
											"value": "scpcf:move_tool"
										}
									]
								}
							},
							"use_item": false,
							"interact_text": "Allow MTF Unit To Move",
							"play_sounds": "armor.equip_generic"
						}
					]
				},
				"minecraft:behavior.open_door": {
					"priority": 1
				},
				"minecraft:annotation.open_door": {}
			},
			"moving": {
				"minecraft:movement": {
					"value": 0.4
				},
				"minecraft:movement.basic": {},
				"minecraft:behavior.random_stroll": {
					"priority": 3,
					"speed_multiplier": 0.8
				},
				"minecraft:pushable": {
					"is_pushable": true,
					"is_pushable_by_piston": true
				}
			},
			"stopmoving": {
				"minecraft:pushable": {
					"is_pushable": false,
					"is_pushable_by_piston": true
				},
				"minecraft:movement": {
					"value": 0
				},
				"minecraft:movement.basic": {}
			}
		},
		"components": {
			"minecraft:health": {
				"value": 40,
				"max": 40
			},
			"minecraft:can_climb": {},
			"minecraft:jump.static": {},
			"minecraft:physics": {},
			"minecraft:type_family": {
				"family": [
					"mtfepsilon11"
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"on_damage": {
							"filters": {
								"test": "is_family",
								"subject": "other",
								"value": "mtfepsilon11"
							}
						},
						"deals_damage": false
					},
					{
						"on_damage": {
							"filters": {
								"test": "is_family",
								"subject": "other",
								"value": "ntfgrenade"
							}
						},
						"deals_damage": false
					},
					{
						"on_damage": {
							"filters": {
								"any_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp008zombie"
									},
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp008zombievillager"
									}
								],
								"all_of": [
									{
										"test": "has_damage",
										"value": "fatal"
									}
								]
							},
							"event": "become_zombie_scp_008"
						}
					},
					{
						"on_damage": {
							"filters": {
								"any_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "scp049"
									}
								],
								"all_of": [
									{
										"test": "has_damage",
										"value": "fatal"
									}
								]
							},
							"event": "scp049zombiesummon"
						}
					}
				]
			},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 1.5
			},
			"minecraft:nameable": {},
			"minecraft:behavior.random_stroll": {
				"priority": 2,
				"speed_multiplier": 0.5
			},
			"minecraft:movement": {
				"value": 0.6
			},
			"minecraft:breathable": {
				"totalSupply": 15,
				"suffocateTime": 0
			},
			"minecraft:behavior.float": {
				"priority": 2
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player?8:0"
			},
			"minecraft:follow_range": {
				"value": 20,
				"max": 20
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 1
			},
			"minecraft:angry": {
				"broadcast_anger": true,
				"broadcast_anger_on_being_attacked": true,
				"broadcast_range": 20,
				"broadcast_targets": [
					"mtfepsilon11"
				],
				"duration": 20
			},
			"minecraft:behavior.random_look_around": {
				"priority": 8,
				"look_time": [
					2,
					3
				]
			},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 30
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"minecraft:mode_switcher",
						"openirondoors",
						"moving"
					]
				},
				"remove": {
					"component_groups": [
						"ntfgrenade",
						"retreat",
						"minecraft:ranged_attack",
						"minecraft:melee_attack",
						"switchtorange"
					]
				}
			},
			"ntfgrenade": {
				"add": {
					"component_groups": [
						"ntfgrenade"
					]
				},
				"remove": {
					"component_groups": [
						"minecraft:mode_switcher",
						"minecraft:ranged_attack",
						"minecraft:melee_attack"
					]
				}
			},
			"retreat": {
				"remove": {
					"component_groups": [
						"minecraft:mode_switcher",
						"minecraft:ranged_attack",
						"minecraft:melee_attack"
					]
				},
				"add": {
					"component_groups": [
						"retreat"
					]
				}
			},
			"beginattack": {
				"add": {
					"component_groups": [
						"minecraft:mode_switcher"
					]
				},
				"remove": {
					"component_groups": [
						"ntfgrenade",
						"retreat",
						"minecraft:ranged_attack",
						"minecraft:melee_attack"
					]
				}
			},
			"minecraft:to_melee_attack": {
				"remove": {
					"component_groups": [
						"minecraft:ranged_attack"
					]
				},
				"add": {
					"component_groups": [
						"minecraft:melee_attack"
					]
				}
			},
			"minecraft:to_ranged_attack": {
				"remove": {
					"component_groups": [
						"minecraft:melee_attack"
					]
				},
				"add": {
					"component_groups": [
						"minecraft:ranged_attack"
					]
				}
			},
			"goback": {
				"add": {
					"component_groups": [
						"switchtorange"
					]
				},
				"remove": {
					"component_groups": [
						"ntfgrenade",
						"minecraft:mode_switcher",
						"minecraft:ranged_attack",
						"minecraft:melee_attack"
					]
				}
			},
			"become_zombie_scp_008": {
				"add": {
					"component_groups": [
						"scp008zombie"
					]
				}
			},
			"scp049zombiesummon": {
				"add": {
					"component_groups": [
						"scp049zombie"
					]
				}
			},
			"dontopenirondoors": {
				"add": {
					"component_groups": [
						"dontopenirondoors"
					]
				},
				"remove": {
					"component_groups": [
						"openirondoors"
					]
				}
			},
			"openirondoors": {
				"add": {
					"component_groups": [
						"openirondoors"
					]
				},
				"remove": {
					"component_groups": [
						"dontopenirondoors"
					]
				}
			},
			"stopmoving": {
				"remove": {
					"component_groups": [
						"moving"
					]
				},
				"add": {
					"component_groups": [
						"stopmoving"
					]
				}
			},
			"move": {
				"add": {
					"component_groups": [
						"moving"
					]
				},
				"remove": {
					"component_groups": [
						"stopmoving"
					]
				}
			}
		}
	}
}