{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:chicken",
      "min_engine_version": "1.12.0",
      "materials": {
        "default": "chicken",
        "cold": "chicken_cold",
        "legs": "chicken_legs"
      },
      "textures": {
        "default": "textures/entity/chicken/chicken",
        "warm": "textures/entity/chicken/chicken_warm",
        "cold": "textures/entity/chicken/chicken_cold",
        "baby_default": "textures/entity/chicken/chicken_temperate_baby",
        "baby_warm": "textures/entity/chicken/chicken_warm_baby",
        "baby_cold": "textures/entity/chicken/chicken_cold_baby"
      },
      "geometry": {
        "default": "geometry.chicken.v1.12",
        "warm": "geometry.chicken.v1.12",
        "cold": "geometry.chicken.cold",
        "baby": "geometry.chicken.baby"
      },
      "animations": {
        "move": "animation.chicken.move",
        "general": "animation.chicken.general",
        "look_at_target": "animation.common.look_at_target"
      },
      "scripts": {
        "scale": "query.is_baby ? 2.0 : 1.0",
        "pre_animation": [
          "t.variant = query.property('minecraft:climate_variant');",
          "v.index = (t.variant == 'temperate') ? 0 : ((t.variant == 'warm') ? 1 : 2);",
          "v.is_cold = t.variant == 'cold';"
        ],
        "animate": [
          "general",
          { "move": "query.modified_move_speed" },
          "look_at_target"
        ]
      },
      "render_controllers": ["controller.render.chicken.v3"],
      "spawn_egg": {
        "texture": "spawn_egg_chicken"
      }
    }
  }
}
