{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_149",
			"is_summonable": true,
			"is_spawnable": true,
			"is_experimental": false
		},
		"component_groups": {
			"mosquito1": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"mosquito2": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"mosquito3": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"mosquito4": {
				"minecraft:variant": {
					"value": 3
				}
			},
			"mosquito5": {
				"minecraft:variant": {
					"value": 4
				}
			},
			"mosquito6": {
				"minecraft:variant": {
					"value": 5
				}
			},
			"mosquito7": {
				"minecraft:variant": {
					"value": 6
				}
			},
			"mosquito8": {
				"minecraft:variant": {
					"value": 7
				}
			},
			"mosquito9": {
				"minecraft:variant": {
					"value": 8
				}
			},
			"mosquito10": {
				"minecraft:variant": {
					"value": 9
				}
			},
			"moving": {
				"minecraft:health": {
					"value": 4,
					"max": 4
				},
				"minecraft:behavior.melee_attack": {
					"priority": 1,
					"speed_multiplier": 1,
					"on_attack": {
						"event": "scp149event",
						"target": "self"
					},
					"on_kill": {
						"event": "scp149spawn"
					}
				},
				"minecraft:attack": {
					"damage": 4
				},
				"minecraft:behavior.nearest_attackable_target": {
					"entity_types": [
						{
							"filters": {
							"other_with_families": [
								"player",
								"zoglin",
								"hoglin",
								"piglin",
								"strider",
								"zombie",
								"creeper",
								"skeleton",
								"spider",
								"zombie_pigman",
								"slime",
								"enderman",
								"silverfish",
								"cave_spider",
								"ghast",
								"magma_cube",
								"blaze",
								"zombie_villager",
								"witch",
								"stray",
								"husk",
								"wither_skeleton",
								"guardian",
								"elder_guardian",
								"wither",
								"ender_dragon",
								"shulker",
								"endermite",
								"vindicator",
								"phantom",
								"ravager",
								"evocation_illager",
								"vex",
								"drowned",
								"pillager",
								"zombie_villager_v2",
								"chicken",
								"cow",
								"pig",
								"sheep",
								"wolf",
								"villager",
								"mooshroom",
								"squid",
								"rabbit",
								"bat",
								"iron_golem",
								"snow_golem",
								"ocelot",
								"horse",
								"donkey",
								"mule",
								"skeleton_horse",
								"zombie_horse",
								"polar_bear",
								"llama",
								"parrot",
								"dolphin",
								"turtle",
								"cat",
								"pufferfish",
								"salmon",
								"tropicalfish",
								"cod",
								"panda",
								"villager_v2",
								"wandering_trader",
								"fox",
								"bee",
								"recontainhuman",
								"goat",
								"axolotl",
								"glow_squid",
								"mtfepsilon11",
								"recontainhumanfriendly"
							]
						},
							"max_dist": 35,
							"must_see": false
						}
					],
					"within_radius": 50,
					"reselect_targets": true
				},
				"minecraft:can_fly": {},
				"minecraft:movement.hover": {},
				"minecraft:navigation.hover": {
					"can_path_over_water": true,
					"can_sink": false,
					"can_path_from_air": true,
					"avoid_water": true,
					"avoid_damage_blocks": true,
					"avoid_sun": false
				},
				"minecraft:flying_speed": {
					"value": 0.35
				},
				"minecraft:movement": {
					"value": 0.3
				},
				"minecraft:behavior.float": {
					"priority": 2
				},
				"minecraft:behavior.random_hover": {
					"priority": 12,
					"interval": 5
				},
				"minecraft:collision_box": {
					"width": 0.5,
					"height": 0.6
				},
				"minecraft:behavior.hurt_by_target": {
					"priority": 1
				},
				"minecraft:pushable": {
					"is_pushable": true,
					"is_pushable_by_piston": true
				}
			},
			"scp149egg": {
				"minecraft:variant": {
					"value": 10
				},
				"minecraft:health": {
					"value": 6,
					"max": 6
				},
				"minecraft:timer": {
					"looping": false,
					"time": [
						2,
						4
					],
					"time_down_event": {
						"event": "scp149hatch"
					}
				},
				"minecraft:collision_box": {
					"height": 0.5,
					"width": 0.3
				}
			}
		},
		"components": {
			"minecraft:can_climb": {},
			"minecraft:jump.static": {},
			"minecraft:physics": {},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:type_family": {
				"family": [
					"scp149"
				]
			},
			"minecraft:damage_sensor": {
				"triggers": [
					{
						"on_damage": {
							"filters": {
								"test": "is_family",
								"subject": "other",
								"value": "scp149"
							}
						},
						"deals_damage": false
					},
					{
						"cause": "fall",
						"deals_damage": false
					}
				]
			},
			"minecraft:leashable": {
				"soft_distance": 4,
				"hard_distance": 6,
				"max_distance": 10
			},
			"minecraft:nameable": {},
			"minecraft:breathable": {
				"totalSupply": 10,
				"suffocateTime": 0
			},
			"minecraft:behavior.float": {
				"priority": 2
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"scp149egg"
					]
				},
				"remove": {
					"component_groups": [
						"moving"
					]
				}
			},
			"scp149event": {
				"sequence": [
					{
						"queue_command": {
							"command": [
								"tag @s add scp149function"
							],
							"target": "target"
						}
					}
				]
			},
			"scp149hatch": {
				"randomize": [
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito1",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito2",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito3",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito4",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito5",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito6",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito7",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito8",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito9",
								"moving"
							]
						}
					},
					{
						"weight": 9,
						"add": {
							"component_groups": [
								"mosquito10",
								"moving"
							]
						}
					}
				]
			},
			"scp149spawn": {
				"queue_command": {
					"command": [
						"summon scpcf:scp_149",
						"summon scpcf:scp_149",
						"summon scpcf:scp_149",
						"summon scpcf:scp_149"
					]
				}
			}
		}
	}
}