{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_106",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false,
			"scripts": {
				"animate": [
					"spawn"
				]
			},
			"animations": {
				"spawning": "animation.scp106.spawn",
				"spawn": "controller.animation.scp106.spawn"
			}
		},
		"component_groups": {
			"spawning": {
				"minecraft:is_sheared": {},
				"minecraft:timer": {
					"looping": false,
					"time": 7,
					"time_down_event": {
						"event": "scp106:spawned"
					}
				},
				"minecraft:variant": {
					"value": 1
				},
				"minecraft:physics": {},
				"minecraft:pushable": {
					"is_pushable": false,
					"is_pushable_by_piston": false
				}
			},
			"scp106": {
				"minecraft:variant": {
					"value": 0
				},
				"minecraft:behavior.random_stroll": {
					"priority": 7,
					"speed_multiplier": 4
				},
				"minecraft:follow_range": {
					"value": 100,
					"max": 100
				},
				"minecraft:attack": {
					"damage": 400
				},
				"minecraft:behavior.melee_attack": {
					"priority": 1,
					"speed_multiplier": 4,
					"on_attack": {
						"event": "scp106corrosion"
					}
				},
				"minecraft:behavior.look_at_player": {
					"priority": 8
				},
				"minecraft:behavior.random_look_around": {
					"priority": 8
				},
				"minecraft:behavior.nearest_attackable_target": {
					"priority": 1,
					"within_radius": 32,
					"reselect_targets": true,
					"entity_types": [
						{
							"filters": {
								"other_with_families": [
									"player",
									"recontainhuman",
									"mtfepsilon11",
									"recontainhumanfriendly",
									"villager"
								]
							},
							"max_dist": 32
						}
					],
					"must_see": false
				},
				"minecraft:movement.fly": {},
				"minecraft:behavior.leap_at_target": {
					"priority": 1,
					"yd": 0.01,
					"must_be_on_ground": false
				},
				"minecraft:flying_speed": {
					"value": 8
				},
				"minecraft:behavior.charge_attack": {
					"priority": -1
				},
				"minecraft:behavior.mount_pathing": {
					"priority": 1,
					"speed_multiplier": 2,
					"track_target": true
				},
				"minecraft:behavior.move_towards_restriction": {
					"priority": 5
				},
				"minecraft:navigation.float": {
					"can_path_over_water": true,
					"can_float": true
				},
				"minecraft:timer": {
					"looping": true,
					"time": 4,
					"time_down_event": {
						"event": "scp106event"
					}
				},
				"minecraft:physics": {
					"has_collision": false
				},
				"minecraft:pushable": {
					"is_pushable": true,
					"is_pushable_by_piston": true
				}
			}
		},
		"components": {
			"minecraft:health": {
				"value": 750,
				"max": 750
			},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:type_family": {
				"family": [
					"scp",
					"scp106"
				]
			},
			"minecraft:nameable": {},
			"minecraft:knockback_resistance": {
				"value": 10,
				"max": 10
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "suffocation",
						"deals_damage": "no"
					},
					{
						"cause": "fall",
						"deals_damage": "no"
					}
				]
			},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 1.5
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player?200:0"
			}
		},
		"events": {
			"scp106event": {
				"queue_command": {
					"command": [
						"tp @e[family=player,r=2] @s",
						"tp @e[family=recontainhuman,r=2] @s",
						"tp @e[family=mtfepsilon11,r=2] @s",
						"tp @e[family=recontainhumanfriendly,r=2] @s",
						"tp @e[family=villager,r=2] @s",
						"damage @e[family=player,r=2] 400",
						"damage @e[family=recontainhuman,r=2] 400",
						"damage @e[family=mtfepsilon11,r=2] 400",
						"damage @e[family=recontainhumanfriendly,r=2] 400",
						"damage @e[family=villager,r=2] 400",
						"gamerule sendcommandfeedback false"
					]
				}
			},
			"scp106corrosion": {
				"queue_command": {
					"command": [
						"setblock ~~-0.5~ scpcf:scp_106_corrosion"
					]
				}
			},
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"spawning"
					]
				},
				"remove": {
					"component_groups": [
						"scp106"
					]
				},
				"queue_command": {
					"command": [
						"setblock ~~-0.5~ scpcf:scp_106_corrosion"
					]
				}
			},
			"scp106:spawned": {
				"remove": {
					"component_groups": [
						"spawning"
					]
				},
				"add": {
					"component_groups": [
						"scp106"
					]
				}
			}
		}
	}
}