{
	"format_version": "1.8.0",
	"minecraft:entity": {
		"description": {
			"identifier": "nyc:penguin",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"shapescape:baby": {
				"minecraft:is_baby": {},
				"minecraft:scale": {
					"value": 0.5
				},
				"minecraft:ageable": {
					"duration": 1200,
					"grow_up": {
						"event": "shapescape:ageable_grow_up",
						"target": "self"
					}
				},
				"minecraft:behavior.follow_parent": {
					"priority": 6,
					"speed_multiplier": 1.1
				}
			},
			"shapescape:adult": {
				"minecraft:behavior.breed": {
					"priority": 3,
					"speed_multiplier": 1.0
				},
				"minecraft:breedable": {
					"requireTame": false,
					"breedItems": "wheat",
					"breedsWith": {
						"mateType": "nyc:penguin",
						"babyType": "nyc:penguin",
						"breed_event": {
							"event": "shapescape:entity_born",
							"target": "baby"
						}
					}
				},
				"minecraft:spawn_entity": {
					"min_wait_time": 600,
					"max_wait_time": 1000,
					"spawn_sound": "plop",
					"spawn_item": "egg"
				}
			},
			"shapescape:leashed": {
				"minecraft:behavior.move_towards_restriction": {
					"priority": 2,
					"speed_multiplier": 1.0
				}
			},
			"shapescape:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"shapescape_penguin",
					"shapescape",
					"shapescape_"
				]
			},
			"minecraft:navigation.generic": {
				"is_amphibious": true,
				"can_path_over_water": false,
				"can_swim": true,
				"can_walk": true,
				"can_sink": false,
				"avoid_damage_blocks": true
			},
			"minecraft:breathable": {
				"totalSupply": 15,
				"suffocateTime": 0,
				"breathesWater": true,
				"breathesAir": true,
				"generatesBubbles": false
			},
			"minecraft:jump.static": {},
			"minecraft:can_climb": {},
			"minecraft:collision_box": {
				"width": 0.6,
				"height": 0.8
			},
			"minecraft:underwater_movement": {
				"value": 0.15
			},
			"minecraft:water_movement": {
				"drag_factor": 0.9
			},
			"minecraft:behavior.random_swim": {
				"priority": 7,
				"interval": 0,
				"xz_dist": 30,
				"y_dist": 15
			},
			"minecraft:behavior.random_stroll": {
				"priority": 5,
				"speed_multiplier": 0.8
			},
			"minecraft:behavior.move_to_land": {
				"priority": 4,
				"search_range": 25,
				"search_height": 6,
				"goal_radius": 0.5
			},
			"minecraft:behavior.move_to_water": {
				"priority": 8,
				"search_range": 16,
				"search_height": 5,
				"search_count": 1,
				"goal_radius": 0.1
			},
			"minecraft:nameable": {},
			"minecraft:health": {
				"value": 10,
				"max": 10
			},
			"minecraft:movement": {
				"value": 0.2
			},
			"minecraft:movement.amphibious": {
				"max_turn": 5.0
			},
			"minecraft:behavior.panic": {
				"priority": 1,
				"speed_multiplier": 1.25
			},
			"minecraft:behavior.breed": {
				"priority": 3,
				"speed_multiplier": 1.0
			},
			"minecraft:behavior.tempt": {
				"priority": 4,
				"speed_multiplier": 1.25,
				"items": [
					"wheat"
				]
			},
			"minecraft:behavior.follow_parent": {
				"priority": 5,
				"speed_multiplier": 1.1
			},
			"minecraft:behavior.look_at_player": {
				"priority": 8,
				"look_distance": 6.0,
				"probability": 0.02
			},
			"minecraft:behavior.random_look_around": {
				"priority": 8
			},
			"minecraft:damage_sensor": [
				{
					"deals_damage": false
				}
			],
			"minecraft:leashable": {
				"soft_distance": 4.0,
				"hard_distance": 6.0,
				"max_distance": 10.0,
				"on_leash": {
					"event": "shapescape:on_leash",
					"target": "self"
				},
				"on_unleash": {
					"event": "shapescape:on_unleash",
					"target": "self"
				}
			},
			"minecraft:balloonable": {},
			"minecraft:physics": {}
		},
		"events": {
			"shapescape:entity_born": {
				"add": {
					"component_groups": [
						"shapescape:baby"
					]
				}
			},
			"shapescape:ageable_grow_up": {
				"remove": {
					"component_groups": [
						"shapescape:baby"
					]
				},
				"add": {
					"component_groups": [
						"shapescape:adult"
					]
				}
			},
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"shapescape:adult"
					]
				}
			},
			"shapescape:on_leash": {
				"add": {
					"component_groups": [
						"shapescape:leashed"
					]
				}
			},
			"shapescape:on_unleash": {
				"remove": {
					"component_groups": [
						"shapescape:leashed"
					]
				}
			},
			"shapescape:despawn": {
				"add": {
					"component_groups": [
						"shapescape:despawn"
					]
				}
			}
		}
	}
}