{
  "format_version": "1.26.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:chicken",
      "is_summonable": true,
      "is_spawnable": true,
      "properties": {
        "minecraft:climate_variant": {
          "client_sync": true,
          "default": "temperate",
          "type": "enum",
          "values": [
            "temperate",
            "warm",
            "cold"
          ]
        }
      },
      "spawn_category": "creature"
    },
    "components": {
      "minecraft:balloonable": {
        "mass": 0.5
      },
      "minecraft:behavior.float": {
        "priority": 0
      },
      "minecraft:behavior.look_at_player": {
        "look_time": {
          "min": 1,
          "max": 2
        },
        "look_distance": 6,
        "priority": 7
      },
      "minecraft:behavior.mount_pathing": {
        "priority": 2,
        "target_dist": 0.0,
        "speed_multiplier": 1.5,
        "track_target": true
      },
      "minecraft:behavior.panic": {
        "priority": 1,
        "speed_multiplier": 1.5
      },
      "minecraft:behavior.random_look_around": {
        "priority": 8
      },
      "minecraft:behavior.random_stroll": {
        "priority": 6,
        "speed_multiplier": 1.0
      },
      "minecraft:behavior.tempt": {
        "items": [
          "wheat_seeds",
          "beetroot_seeds",
          "melon_seeds",
          "pumpkin_seeds",
          "pitcher_pod",
          "torchflower_seeds"
        ],
        "priority": 4,
        "speed_multiplier": 1.0
      },
      "minecraft:breathable": {
        "suffocate_time": 0,
        "total_supply": 15
      },
      "minecraft:can_climb": {},
      "minecraft:collision_box": {
        "height": 0.8,
        "width": 0.6
      },
      "minecraft:conditional_bandwidth_optimization": {},
      "minecraft:damage_sensor": {
        "triggers": {
          "cause": "fall",
          "deals_damage": "no"
        }
      },
      "minecraft:despawn": {
        "despawn_from_distance": {}
      },
      "minecraft:game_event_movement_tracking": {
        "emit_flap": true
      },
      "minecraft:health": {
        "max": 4,
        "value": 4
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "cause": "lava",
            "damage_per_tick": 4,
            "filters": {
              "operator": "==",
              "test": "in_lava",
              "subject": "self",
              "value": true
            }
          }
        ]
      },
      "minecraft:is_hidden_when_invisible": {},
      "minecraft:jump.static": {},
      "minecraft:leashable": {},
      "minecraft:movement": {
        "value": 0.25
      },
      "minecraft:movement.basic": {},
      "minecraft:nameable": {},
      "minecraft:navigation.walk": {
        "avoid_damage_blocks": true,
        "can_path_over_water": true,
        "using_door_annotation": true
      },
      "minecraft:physics": {},
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:type_family": {
        "family": [
          "chicken",
          "mob"
        ]
      }
    },
    "component_groups": {
      "minecraft:chicken_adult": {
        "minecraft:behavior.breed": {
          "priority": 3
        },
        "minecraft:breedable": {
          "breed_items": [
            {
              "item": "wheat_seeds"
            },
            {
              "item": "beetroot_seeds"
            },
            {
              "item": "melon_seeds"
            },
            {
              "item": "pumpkin_seeds"
            },
            {
              "item": "pitcher_pod"
            },
            {
              "item": "torchflower_seeds"
            }
          ],
          "breeds_with": {
            "minecraft:chicken": {
              "event": "minecraft:entity_born",
              "target": "baby"
            }
          },
          "require_tame": false
        },
        "minecraft:experience_reward": {
          "on_bred": {
            "expression": "Math.Random(1,7)",
            "version": 12
          },
          "on_death": {
            "expression": "query.last_hit_by_player ? Math.Random(1,3) : 0",
            "version": 12
          }
        },
        "minecraft:leashable_to": {},
        "minecraft:loot": {
          "table": "loot_tables/entities/chicken.json"
        },
        "minecraft:offspring": {
          "offspring_pairs": {
            "minecraft:chicken": "minecraft:chicken"
          },
          "property_inheritance": {
            "minecraft:climate_variant": {}
          }
        },
        "minecraft:rideable": {
          "family_types": [
            "zombie"
          ],
          "seat_count": 1,
          "seats": {
            "position": [
              0.0,
              0.48,
              0.0
            ]
          }
        },
        "minecraft:spawn_entity": {
          "entities": [
            {
              "spawn_sound": "plop",
              "filters": [
                {
                  "test": "rider_count",
                  "operator": "==",
                  "subject": "self",
                  "value": 0
                },
                {
                  "domain": "minecraft:climate_variant",
                  "subject": "self",
                  "test": "enum_property",
                  "value": "temperate"
                }
              ],
              "max_wait_time": 600,
              "min_wait_time": 300,
              "spawn_item": "egg"
            },
            {
              "spawn_sound": "plop",
              "filters": [
                {
                  "test": "rider_count",
                  "operator": "==",
                  "subject": "self",
                  "value": 0
                },
                {
                  "domain": "minecraft:climate_variant",
                  "subject": "self",
                  "test": "enum_property",
                  "value": "warm"
                }
              ],
              "max_wait_time": 600,
              "min_wait_time": 300,
              "spawn_item": "brown_egg"
            },
            {
              "spawn_sound": "plop",
              "filters": [
                {
                  "test": "rider_count",
                  "operator": "==",
                  "subject": "self",
                  "value": 0
                },
                {
                  "domain": "minecraft:climate_variant",
                  "subject": "self",
                  "test": "enum_property",
                  "value": "cold"
                }
              ],
              "max_wait_time": 600,
              "min_wait_time": 300,
              "spawn_item": "blue_egg"
            }
          ]
        }
      },
      "minecraft:chicken_baby": {
        "minecraft:ageable": {
          "duration": 1200,
          "grow_up": {
            "event": "minecraft:ageable_grow_up",
            "target": "self"
          },
          "feed_items": [
            "wheat_seeds",
            "beetroot_seeds",
            "melon_seeds",
            "pumpkin_seeds",
            "pitcher_pod",
            "torchflower_seeds"
          ]
        },
        "minecraft:behavior.follow_parent": {
          "priority": 5,
          "speed_multiplier": 1.1
        },
        "minecraft:is_baby": {},
        "minecraft:scale": {
          "value": 0.5
        }
      }
    },
    "events": {
      "minecraft:hatch_cold": {
        "set_property": {
          "minecraft:climate_variant": "cold"
        }
      },
      "minecraft:ageable_grow_up": {
        "add": {
          "component_groups": [
            "minecraft:chicken_adult"
          ]
        },
        "remove": {
          "component_groups": [
            "minecraft:chicken_baby"
          ]
        }
      },
      "minecraft:entity_born": {
        "add": {
          "component_groups": [
            "minecraft:chicken_baby"
          ]
        },
        "remove": {}
      },
      "minecraft:hatch_warm": {
        "set_property": {
          "minecraft:climate_variant": "warm"
        }
      },
      "minecraft:entity_spawned": {
        "sequence": [
          {
            "randomize": [
              {
                "trigger": "minecraft:spawn_adult",
                "weight": 95
              },
              {
                "add": {
                  "component_groups": [
                    "minecraft:chicken_baby"
                  ]
                },
                "weight": 5
              }
            ]
          },
          {
            "first_valid": [
              {
                "filters": {
                  "test": "has_biome_tag",
                  "value": "spawns_warm_variant_farm_animals"
                },
                "set_property": {
                  "minecraft:climate_variant": "warm"
                }
              },
              {
                "filters": {
                  "test": "has_biome_tag",
                  "value": "spawns_cold_variant_farm_animals"
                },
                "set_property": {
                  "minecraft:climate_variant": "cold"
                }
              }
            ]
          }
        ]
      },
      "minecraft:spawn_adult": {
        "add": {
          "component_groups": [
            "minecraft:chicken_adult"
          ]
        }
      }
    }
  }
}