{
	"format_version": "1.8.0",
	"minecraft:entity": {
		"description": {
			"identifier": "nyc:toucan",
			"runtime_identifier": "minecraft:chicken",
			"is_spawnable": false,
			"is_summonable": true,
			"is_experimental": false
		},
		"component_groups": {
			"shapescape:toucan_wild": {
				"minecraft:type_family": {
					"family": [
						"parrot_wild",
						"shapescape",
						"shapescape_"
					]
				},
				"minecraft:tameable": {
					"probability": 0.33,
					"tameItems": [
						"wheat_seeds",
						"pumpkin_seeds",
						"melon_seeds",
						"beetroot_seeds"
					],
					"tame_event": {
						"event": "shapescape:on_tame",
						"target": "self"
					}
				},
				"minecraft:behavior.random_fly": {
					"priority": 1,
					"xz_dist": 15,
					"y_dist": 3,
					"y_offset": 0,
					"speed_multiplier": 1.0,
					"can_land_on_trees": true,
					"avoid_damage_blocks": true
				},
				"minecraft:behavior.follow_mob": {
					"priority": 3,
					"speed_multiplier": 1.0,
					"stop_distance": 3,
					"search_range": 20
				}
			},
			"shapescape:toucan_tame": {
				"minecraft:type_family": {
					"family": [
						"parrot_tame",
						"shapescape",
						"shapescape_"
					]
				},
				"minecraft:is_tamed": {},
				"minecraft:behavior.follow_owner": {
					"priority": 2,
					"speed_multiplier": 1.0,
					"start_distance": 5,
					"stop_distance": 1
				},
				"minecraft:sittable": {},
				"minecraft:behavior.stay_while_sitting": {
					"priority": 1
				},
				"minecraft:behavior.find_mount": {
					"priority": 3,
					"within_radius": 16,
					"avoid_water": true,
					"start_delay": 100,
					"target_needed": false,
					"mount_distance": 2.0
				}
			},
			"shapescape:despawn": {
				"minecraft:instant_despawn": {}
			}
		},
		"components": {
			"minecraft:breathable": {
				"totalSupply": 15,
				"suffocateTime": 0
			},
			"minecraft:collision_box": {
				"width": 0.5,
				"height": 1
			},
			"minecraft:nameable": {},
			"minecraft:health": {
				"value": 6,
				"max": 6
			},
			"minecraft:damage_sensor": [
				{
					"deals_damage": false
				}
			],
			"minecraft:movement": {
				"value": 0.4
			},
			"minecraft:fall_damage": {
				"value": 0.0
			},
			"minecraft:jump.static": {},
			"minecraft:can_fly": {
				"value": true
			},
			"minecraft:navigation.fly": {
				"can_path_over_water": true
			},
			"minecraft:movement.fly": {},
			"minecraft:physics": {},
			"minecraft:behavior.float": {
				"priority": 0
			},
			"minecraft:behavior.panic": {
				"priority": 0,
				"speed_multiplier": 1.25
			},
			"minecraft:behavior.look_at_player": {
				"priority": 1,
				"look_distance": 8.0
			},
			"minecraft:healable": {
				"force_use": true,
				"filters": {
					"test": "is_riding",
					"operator": "!=",
					"value": true
				},
				"items": [
					{
						"item": "cookie",
						"heal_amount": 0,
						"effects": [
							{
								"name": "fatal_poison",
								"chance": 1.0,
								"duration": 1000,
								"amplifier": 0
							}
						]
					}
				]
			},
			"minecraft:type_family": {
				"family": [
					"shapescape",
					"shapescape_"
				]
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"weight": 20,
				"add": {
					"component_groups": [
						"shapescape:toucan_wild"
					]
				}
			},
			"shapescape:on_tame": {
				"remove": {
					"component_groups": [
						"shapescape:toucan_wild"
					]
				},
				"add": {
					"component_groups": [
						"shapescape:toucan_tame"
					]
				}
			},
			"shapescape:despawn": {
				"add": {
					"component_groups": [
						"shapescape:despawn"
					]
				}
			}
		}
	}
}