{
	"format_version": "1.16.100",
	"minecraft:entity": {
		"description": {
			"identifier": "cc_fairytales:harpy",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"cafe": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"amarilla": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"blanca": {
				"minecraft:variant": {
					"value": 2
				}
			}
		},
		"components": {
			"minecraft:physics": {
				"has_gravity": true,
				"has_collision": true
			},
			"minecraft:experience_reward": {
				"on_death": "query.last_hit_by_player ? 10"
			},
			"minecraft:type_family": {
				"family": [
					"mob",
					"harpy",
					"monster"
				]
			},
			"minecraft:nameable": {},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
			"minecraft:health": {
				"value": 20
			},
			"minecraft:navigation.walk": {},
			"minecraft:movement": {
				"value": 0.4
			},
			"minecraft:despawn": {
				"despawn_from_distance": {}
			},
			"minecraft:behavior.random_stroll": {
				"priority": 6,
				"speed_multiplier": 0.6
			},
			"minecraft:behavior.look_at_player": {
				"priority": 7,
				"look_distance": 6,
				"probability": 0.02
			},
			"minecraft:behavior.random_look_around": {
				"priority": 9
			},
			"minecraft:conditional_bandwidth_optimization": {},
			"minecraft:behavior.nearest_attackable_target": {
				"priority": 3,
				"must_see": true,
				"reselect_targets": true,
				"within_radius": 25.0,
				"must_see_forget_duration": 17.0,
				"entity_types": [
					{
						"filters": {
							"test": "is_family",
							"subject": "other",
							"value": "player"
						},
						"max_dist": 30
					}
				]
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 3
			},
			"minecraft:behavior.avoid_mob_type": {
				"priority": 2,
				"entity_types": [
					{
						"filters": {
							"any_of": [
								{
									"test": "is_family",
									"subject": "other",
									"value": "cat"
								}
							]
						},
						"max_dist": 6,
						"sprint_speed_multiplier": 1.2
					}
				]
			},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:loot": {
				"table": "loot_tables/chillcraft/fairy/entities/harpy.json"
			},
			"minecraft:attack": {
				"damage": 4
			},
			"minecraft:behavior.melee_box_attack": {
				"priority": 4,
				"track_target": true,
				"cooldown_time": 1
			},
			"minecraft:collision_box": {
				"height": 1.8,
				"width": 0.9
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"randomize": [
					{
						"add": {
							"component_groups": [
								"cafe"
							]
						},
						"weight": 1
					},
					{
						"add": {
							"component_groups": [
								"amarilla"
							]
						},
						"weight": 1
					},
					{
						"add": {
							"component_groups": [
								"blanca"
							]
						},
						"weight": 1
					}
				]
			}
		}
	}
}