{
	"format_version": "1.10.0",
	"minecraft:entity": {
		"description": {
			"identifier": "nyc:lion",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"shapescape:lion_male": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"shapescape:lion_female": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"shapescape:lion_baby": {
				"minecraft:is_baby": {},
				"minecraft:attack": {
					"damage": 1
				},
				"minecraft:scale": {
					"value": 0.5
				}
			},
			"shapescape:lion_angry": {
				"minecraft:angry": {
					"duration": 25,
					"broadcastAnger": true,
					"broadcastRange": 20,
					"calm_event": {
						"event": "shapescape:on_calm",
						"target": "self"
					}
				}
			},
			"shapescape:lion_calm": {
				"minecraft:on_target_acquired": {
					"event": "shapescape:become_angry",
					"target": "self"
				}
			},
			"shapescape:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:physics": {},
			"minecraft:collision_box": {
				"width": 1,
				"height": 1
			},
			"minecraft:health": {
				"value": 16,
				"max": 16
			},
			"minecraft:breathable": {
				"totalSupply": 10,
				"suffocateTime": 0
			},
			"minecraft:nameable": {},
			"minecraft:movement": {
				"value": 0.2
			},
			"minecraft:damage_sensor": [
				{
					"deals_damage": false
				}
			],
			"minecraft:attack": {
				"damage": 3
			},
			"minecraft:behavior.melee_attack": {
				"priority": 3,
				"speed_multiplier": 2,
				"track_target": false
			},
			"minecraft:behavior.hurt_by_target": {
				"priority": 1
			},
			"minecraft:navigation.walk": {
				"can_path_over_water": true,
				"avoid_damage_blocks": true,
				"avoid_water": true
			},
			"minecraft:movement.basic": {},
			"minecraft:jump.static": {},
			"minecraft:behavior.float": {},
			"minecraft:behavior.random_stroll": {
				"priority": 1,
				"speed_multiplier": 1.0
			},
			"minecraft:behavior.look_at_player": {
				"priority": 4,
				"look_distance": 6.0,
				"probability": 0.3
			},
			"minecraft:behavior.random_look_around": {
				"priority": 3
			},
			"minecraft:type_family": {
				"family": [
					"shapescape",
					"shapescape_"
				]
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"randomize": [
					{
						"weight": 95,
						"remove": {},
						"add": {
							"component_groups": [
								"shapescape:lion_calm",
								"shapescape:lion_male"
							]
						}
					},
					{
						"weight": 95,
						"remove": {},
						"add": {
							"component_groups": [
								"shapescape:lion_calm",
								"shapescape:lion_female"
							]
						}
					},
					{
						"weight": 95,
						"remove": {},
						"add": {
							"component_groups": [
								"shapescape:lion_baby",
								"shapescape:lion_calm",
								"shapescape:lion_female"
							]
						}
					}
				]
			},
			"shapescape:become_calm": {
				"remove": {
					"component_groups": [
						"shapescape:lion_angry"
					]
				},
				"add": {
					"component_groups": [
						"shapescape:lion_calm"
					]
				}
			},
			"shapescape:become_angry": {
				"remove": {
					"component_groups": [
						"shapescape:lion_calm"
					]
				},
				"add": {
					"component_groups": [
						"shapescape:lion_angry"
					]
				}
			},
			"shapescape:despawn": {
				"add": {
					"component_groups": [
						"shapescape:despawn"
					]
				}
			}
		}
	}
}