{
  "format_version": "1.16.0",
  "minecraft:entity": {
    "description": {
      "identifier": "pr:dodo",
      "is_spawnable": true,
      "is_summonable": true,
      "is_experimental": false
    },
    "component_groups": {
      "minecraft:chicken_baby": {
        "minecraft:is_baby": {},
        "minecraft:scale": {
          "value": 0.4
        },
        "minecraft:ageable": {
          "duration": 1200,
          "feed_items": [
            "wheat_seeds",
            "beetroot_seeds",
            "melon_seeds",
            "pumpkin_seeds"
          ],
          "grow_up": {
            "event": "minecraft:ageable_grow_up",
            "target": "self"
          }
        },
        "minecraft:behavior.follow_parent": {
          "priority": 5,
          "speed_multiplier": 1.1
        }
      },
      "minecraft:chicken_adult": {
        "minecraft:experience_reward": {
          "on_bred": "Math.Random(1,7)",
          "on_death": "query.last_hit_by_player?Math.Random(1,3):0"
        },
        "minecraft:loot": {
          "table": "loot_tables/entities/chicken.json"
        },
        "minecraft:breedable": {
          "requireTame": false,
          "breedsWith": [
            {
              "mateType": "pr:dodo",
              "babyType": "pr:dodo",
              "breed_event": {
                "event": "minecraft:entity_born",
                "target": "baby"
              }
            }
          ],
          "breedItems": [
            "carrot",
            "beetroot_seeds",
            "pumpkin_seeds",
            "wheat_seeds",
            "carrot",
            "beetroot_seeds",
            "pumpkin_seeds",
            "wheat_seeds",
            "carrot",
            "beetroot_seeds",
            "pumpkin_seeds",
            "wheat_seeds",
            "carrot",
            "beetroot_seeds",
            "pumpkin_seeds",
            "wheat_seeds"
          ]
        },
        "minecraft:behavior.breed": {
          "priority": 3,
          "speed_multiplier": 1
        },
        "minecraft:rideable": {
          "seat_count": 1,
          "family_types": [
            "zombie"
          ],
          "seats": {
            "position": [
              0,
              0.4,
              0
            ]
          }
        },
        "minecraft:spawn_entity": {
          "entities": {
            "min_wait_time": 300,
            "max_wait_time": 600,
            "spawn_sound": "plop",
            "spawn_item": "pr:dodo_egg",
            "filters": {
              "test": "rider_count",
              "subject": "self",
              "operator": "==",
              "value": 0
            }
          }
        }
      }
    },
    "components": {
      "minecraft:type_family": {
        "family": [
          "mob",
          "chicken"
        ]
      },
      "minecraft:collision_box": {
        "height": 0.8,
        "width": 0.6
      },
      "minecraft:nameable": {
        "alwaysShow": false,
        "allowNameTagRenaming": true
      },
      "minecraft:health": {
        "value": 8,
        "max": 8
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:movement": {
        "value": 0.2
      },
      "minecraft:damage_sensor": {
        "triggers": {
          "cause": "fall",
          "deals_damage": false
        }
      },
      "minecraft:leashable": {
        "soft_distance": 4,
        "hard_distance": 6,
        "max_distance": 10
      },
      "minecraft:balloonable": {
        "mass": 0.5
      },
      "minecraft:navigation.walk": {
        "can_path_over_water": true,
        "avoid_damage_blocks": true
      },
      "minecraft:movement.basic": {},
      "minecraft:jump.static": {},
      "minecraft:can_climb": {},
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.mount_pathing": {
        "priority": 2,
        "speed_multiplier": 1.5,
        "target_dist": 0,
        "track_target": true
      },
      "minecraft:behavior.tempt": {
        "priority": 4,
        "speed_multiplier": 1,
        "items": [
          "wheat_seeds",
          "beetroot_seeds",
          "melon_seeds",
          "pumpkin_seeds"
        ]
      },
      "minecraft:behavior.random_stroll": {
        "priority": 6,
        "speed_multiplier": 1
      },
      "minecraft:behavior.look_at_player": {
        "priority": 7,
        "look_distance": 6,
        "probability": 0.02
      },
      "minecraft:behavior.random_look_around": {
        "priority": 8
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:experience_reward": {
        "on_death": "query.last_hit_by_player ? 14 : 0"
      },
      "minecraft:underwater_movement": {
        "value": 0.02
      },
      "minecraft:scale": {
        "value": 0.84
      },
      "minecraft:sittable": {},
      "minecraft:behavior.stay_while_sitting": {
        "priority": 3
      },
      "minecraft:breedable": {
        "requireTame": false,
        "breedsWith": [
          {
            "mateType": "pr:dodo",
            "babyType": "pr:dodo",
            "breed_event": {
              "event": "minecraft:entity_born",
              "target": "baby"
            }
          }
        ],
        "breedItems": [
          "carrot",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds",
          "carrot",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds",
          "carrot",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds",
          "carrot",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds"
        ]
      },
      "minecraft:behavior.breed": {
        "priority": 3,
        "speed_multiplier": 1.0
      },
      "minecraft:tameable": {
        "probability": 0.33,
        "tameItems": [
          "fish",
          "salmon",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds",
          "fish",
          "salmon",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds",
          "fish",
          "salmon",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds",
          "fish",
          "salmon",
          "beetroot_seeds",
          "pumpkin_seeds",
          "wheat_seeds"
        ],
        "tame_event": {
          "event": "minecraft:on_tame",
          "target": "self"
        }
      }
    },
    "events": {
      "from_egg": {
        "add": {
          "component_groups": [
            "minecraft:chicken_baby"
          ]
        }
      },
      "minecraft:entity_spawned": {
        "randomize": [
          {
            "weight": 95,
            "remove": {},
            "add": {
              "component_groups": [
                "minecraft:chicken_adult"
              ]
            }
          },
          {
            "weight": 5,
            "remove": {},
            "add": {
              "component_groups": [
                "minecraft:chicken_baby"
              ]
            }
          }
        ]
      },
      "minecraft:entity_born": {
        "remove": {},
        "add": {
          "component_groups": [
            "minecraft:chicken_baby"
          ]
        }
      },
      "minecraft:ageable_grow_up": {
        "remove": {
          "component_groups": [
            "minecraft:chicken_baby"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:chicken_adult"
          ]
        }
      },
      "on:death": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt": {
        "run_command": {
          "command": []
        }
      },
      "on:hurt_by_player": {
        "run_command": {
          "command": []
        }
      },
      "on:ignite": {
        "run_command": {
          "command": []
        }
      },
      "on:target_acquired": {
        "run_command": {
          "command": []
        }
      },
      "on:target_escape": {
        "run_command": {
          "command": []
        }
      },
      "on:wake_with_owner": {
        "run_command": {
          "command": []
        }
      },
      "on:tick_action": {
        "run_command": {
          "command": []
        }
      }
    }
  }
}