{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_772",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"scp772variant1": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"scp772variant2": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"scp772variant3": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"scp772variant4": {
				"minecraft:variant": {
					"value": 3
				}
			},
			"scp772attack": {
				"minecraft:behavior.melee_attack": {
					"priority": 1,
					"speed_multiplier": 4,
					"on_attack": {
						"event": "scp772effect",
						"target": "self"
					},
					"on_kill": {
						"event": "scp772grub"
					}
				},
				"minecraft:attack": {
					"damage": 4
				},
				"minecraft:behavior.nearest_attackable_target": {
					"entity_types": [
						{
							"filters": {
								"other_with_families": [
									"player",
									"chicken",
									"cow",
									"pig",
									"sheep",
									"wolf",
									"mooshroom",
									"squid",
									"rabbit",
									"bat",
									"ocelot",
									"horse",
									"donkey",
									"mule",
									"polar_bear",
									"llama",
									"parrot",
									"dolphin",
									"turtle",
									"cat",
									"pufferfish",
									"salmon",
									"tropicalfish",
									"cod",
									"panda",
									"fox",
									"goat",
									"axolotl",
									"glow_squid",
									"recontainhuman",
									"mtfepsilon11",
									"recontainhumanfriendly"
								]
							},
							"max_dist": 150,
							"must_see": true
						}
					],
					"reselect_targets": true
				},
				"minecraft:follow_range": {
					"value": 150,
					"max": 150
				},
				"minecraft:can_fly": true,
				"minecraft:behavior.random_fly": {
					"priority": 2
				},
				"minecraft:movement": {
					"value": 0.6
				},
				"minecraft:movement.fly": {},
				"minecraft:navigation.fly": {
					"can_path_from_air": true
				}
			},
			"scp772cooldown": {
				"minecraft:timer": {
					"looping": false,
					"time": [
						2,
						3
					],
					"time_down_event": {
						"event": "scp772attack"
					}
				}
			}
		},
		"components": {
			"minecraft:can_climb": {},
			"minecraft:jump.static": {},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:type_family": {
				"family": [
					"scp"
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"cause": "fall",
						"deals_damage": false
					}
				]
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:health": {
				"value": 20,
				"max": 20
			},
			"minecraft:scale": {
				"value": 0.9
			},
			"minecraft:nameable": {},
			"minecraft:collision_box": {
				"width": 1,
				"height": 1.5
			},
			"minecraft:behavior.float": {
				"priority": 2
			},
			"minecraft:breathable": {
				"totalSupply": 10,
				"suffocateTime": 0
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player?5:0"
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"randomize": [
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp772variant1",
								"scp772attack"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp772variant2",
								"scp772attack"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp772variant3",
								"scp772attack"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp772variant4",
								"scp772attack"
							]
						}
					}
				]
			},
			"scp772effect": {
				"queue_command": {
					"command": [
						"effect @e[r=2] slowness 30 5"
					]
				},
				"add": {
					"component_groups": [
						"scp772cooldown"
					]
				},
				"remove": {
					"component_groups": [
						"scp772attack"
					]
				}
			},
			"scp772attack": {
				"add": {
					"component_groups": [
						"scp772attack"
					]
				},
				"remove": {
					"component_groups": [
						"scp772cooldown"
					]
				}
			},
			"scp772grub": {
				"randomize": [
					{
						"weight": 9,
						"queue_command": {
							"command": [
								"summon scpcf:scp_772_grub",
								"summon scpcf:scp_772_grub"
							]
						}
					},
					{
						"weight": 9,
						"queue_command": {
							"command": [
								"summon scpcf:scp_772_grub",
								"summon scpcf:scp_772_grub",
								"summon scpcf:scp_772_grub"
							]
						}
					},
					{
						"weight": 9,
						"queue_command": {
							"command": [
								"summon scpcf:scp_772_grub",
								"summon scpcf:scp_772_grub",
								"summon scpcf:scp_772_grub",
								"summon scpcf:scp_772_grub"
							]
						}
					}
				]
			},
			"minecraft:entity_transformed": {
				"randomize": [
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp772variant1",
								"scp772attack"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"scp772variant2",
								"scp772attack"
							]
						}
					}
				]
			}
		}
	}
}