{ "minecraft:entity": { "format_version": "1.2.0", "component_groups": { "minecraft:parrot_red": { "minecraft:variant": { "value": 0 } }, "minecraft:parrot_blue": { "minecraft:variant": { "value": 1 } }, "minecraft:parrot_green": { "minecraft:variant": { "value": 2 } }, "minecraft:parrot_cyan": { "minecraft:variant": { "value": 3 } }, "minecraft:parrot_silver": { "minecraft:variant": { "value": 4 } }, "minecraft:parrot_adult": { "minecraft:loot": { "table": "loot_tables/entities/parrot.json" } }, "minecraft:parrot_wild": { "minecraft:type_family": { "family": [ "parrot_wild" ] }, "minecraft:tameable": { "probability": 0.33, "tameItems": [ "wheat_seeds", "pumpkin_seeds", "melon_seeds", "beetroot_seeds" ], "tame_event": { "event": "minecraft:on_tame", "target": "self" } }, "minecraft:behavior.random_fly": { "priority": 2, "xz_dist": 15, "y_dist": 1, "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 } }, "minecraft:parrot_tame": { "minecraft:type_family": { "family": [ "parrot_tame" ] }, "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 } } }, "components": { "minecraft:identifier": { "id": "minecraft:parrot" }, "minecraft:breathable": { "totalSupply": 15, "suffocateTime": 0 }, "minecraft:collision_box": { "width": 0.5, "height": 1 }, "minecraft:nameable": { }, "minecraft:health": { "value": 6, "max": 6 }, "minecraft:movement": { "value": 0.4 }, "minecraft:fall_damage": { "value": 0.0 }, "minecraft:jump.static": { }, "minecraft:can_fly": { "value": true }, "minecraft:navigation.fly": { "can_float": 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 } ] } ] } }, "events": { "minecraft:entity_spawned": { "randomize": [ { "weight": 20, "add": { "component_groups": [ "minecraft:parrot_red", "minecraft:parrot_adult", "minecraft:parrot_wild" ] } }, { "weight": 20, "add": { "component_groups": [ "minecraft:parrot_blue", "minecraft:parrot_adult", "minecraft:parrot_wild" ] } }, { "weight": 20, "add": { "component_groups": [ "minecraft:parrot_green", "minecraft:parrot_adult", "minecraft:parrot_wild" ] } }, { "weight": 20, "add": { "component_groups": [ "minecraft:parrot_cyan", "minecraft:parrot_adult", "minecraft:parrot_wild" ] } }, { "weight": 20, "add": { "component_groups": [ "minecraft:parrot_silver", "minecraft:parrot_adult", "minecraft:parrot_wild" ] } } ] }, "minecraft:on_tame": { "remove": { "component_groups": [ "minecraft:parrot_wild" ] }, "add": { "component_groups": [ "minecraft:parrot_tame" ] } } } } }