{
	"credit": "Made with Blockbench",
	"textureSize": [64, 64],
	"texture": "textures/entity/chicken/chicken.png",
	"models": [
		{
			"part": "head",
			"id": "head",
			"invertAxis": "xy",
			"translate": [0, -9, 4],
			"animations": [
				{
					"var.hy": "clamp(head_yaw,-90,90)",
					"var.r": "random(id)*pi*4",
					"var.t": "(time*pi*2)/6",
					"var.ls": "     limb_swing/if(is_child, 1.8, 1)*0.8",
					"var.ls_walk": "limb_swing/if(is_child, 1.8, 1)*1.2",
					"var.b": "   var.r+ var.t/if(is_child, 3, 6)",
					"var.swim": "var.r+ var.t/if(is_child, 7, 10)*pi",
					"var.run": " clamp(if(limb_speed>=if(is_child, 0.7, 0.7), min(20, var.run  +0.1 *frame_time*20), max(0, var.run  -0.2 *frame_time*20)), 0, 1)",
					"var.walk": " clamp(1-var.run , 0, 1)",
					"var.float": "clamp(if(!is_on_ground&&!is_in_water&&!is_riding, min(20, var.float +0.1 *frame_time*20), max(0, var.float -0.2 *frame_time*20)), 0, 1)",
					"var.land": " clamp(1-var.float, 0, 1)",
					"var.float1": "var.r+ (var.t+limb_swing)/if(is_child, 15, 20)*pi",
					"var.float2": "var.r+ (var.t+limb_swing)/if(is_child, 20, 25)*pi",
					"var.float3": "var.r+ (var.t+limb_swing)*if(is_child, 1.5, 1.2)",
					"var.eatA": "clamp(if(rule_index==3 && between(cos(var.r+var.t/210)*10, -5, 5) || rule_index==2 && between(cos(var.r+var.t/360)*10, -2, 0) && head_pitch==0 && limb_speed<0.3, min(20, var.eatA +0.3 *frame_time*20), max(0, var.eatA -0.3 *frame_time*20) ), 0, 1)",
					"var.eat": "(0.5-0.5*cos( var.eatA*pi ))*var.land"
				},
				{
					"head2.rx": "torad(head_pitch)/1.5*(1-var.eat) +((torad(15)*limb_speed +sin(var.ls*2)/10*limb_speed)*var.run +(torad(5)*limb_speed +sin(var.ls_walk*2)/10*limb_speed)*var.walk)*var.land +(torad(30) -sin(var.float1)/8)*var.float -(sin(var.b)/50) +(torad(80) -abs(sin(var.r/2+var.t/2)/4 -cos(var.r/2+var.t/2)/3))*var.eat",
					"head2.ry": "torad(var.hy)/1.5 +clamp(if(head_pitch<0, -cos(var.r+var.t/16)*4*clamp(-9.25 +sin(var.r+var.t/64)*10, 0, 1), 0), -0.3, 0.3)",
					"head2.rz": "(-sin(torad(90)+var.float2)/8)*var.float +((-sin(var.ls)/15*limb_speed)*var.run +(-sin(var.ls_walk)/15*limb_speed)*var.walk )*var.land",
					"head2.ty": "0 +if(is_child, 2, 0) +torad(head_pitch)*(1-var.eat) +cos(var.b)/7 +(if(is_child, -1, 3) -abs(sin(var.r/2+var.t/2) -cos(var.r/2+var.t/2)/2))*var.eat",
					"head2.tz": "-3.5 +if(is_in_water, 0, cos(var.ls_walk*2 -sin(var.ls_walk*2 )/2)*2*limb_speed)*var.walk +var.eat/2",
					"head2.sx": "if(is_child, 2, 1)",
					"head2.sy": "head2.sx",
					"head2.sz": "head2.sx",
					"body.rx": "(sin(          var.float1)/10)*var.float +((sin(torad(135)+var.ls*2)/14 +torad(-10))*limb_speed*var.run +(sin(torad(135)+var.ls_walk*2)/14 +torad(5))*limb_speed*var.walk)*var.land +sin(var.b)/50 +torad(head_pitch)/3*(1-var.eat) +torad(if(is_child, 10, 25))*var.eat",
					"body.rz": "(sin(torad(90)+var.float2)/10)*var.float +((sin(           var.ls  )/15            )*limb_speed*var.run +(sin(           var.ls_walk  )/15          )*limb_speed*var.walk)*var.land",
					"body.ry": "head2.ry/6",
					"body.tx": "if(is_ridden, 0, sin(          var.float2))*var.float +((sin(torad( 90)+var.ls )/3)*limb_speed*var.run +(sin(torad( 90)+var.ls_walk )/3)*limb_speed*var.walk )*var.land",
					"body.tz": "if(is_ridden, 0, sin(torad(90)+var.float1))*var.float",
					"body.ty": "if(is_ridden, 0, is_riding, if(is_child, 2.5, 3.5), (-1 -sin(torad(-90)+var.ls*2)/2)*limb_speed*var.run +(-sin(torad(-90)+var.ls_walk*2)/1.5)*limb_speed*var.walk -sin(torad(45)+var.b)/8)*var.land +16.3"
				},
				{
					"right_wing2.rx": "torad(-5) +if(is_child, 0, (sin(torad(90)+var.ls*2)/2)*var.run )*var.land +(sin(torad(90)+var.float3)/2)*var.float",
					"left_wing2.rx": " torad(-5) +if(is_child, 0, (sin(torad(90)+var.ls*2)/2)*var.run )*var.land +(sin(torad(90)+var.float3)/2)*var.float",
					"right_wing2.ry": "torad( 5) -sin(torad( 45)+var.b)/50",
					"left_wing2.ry": " torad(-5) +sin(torad( 45)+var.b)/50",
					"right_wing2.rz": "if(is_child, torad(100)*limb_speed +sin(var.ls_walk*2)/2*limb_speed, (torad(90) +sin(var.ls*2)*1.2)*var.run)*var.land +(torad(90) +sin(var.float3)*1.2)*var.float",
					"left_wing2.rz": "-if(is_child, torad(100)*limb_speed +sin(var.ls_walk*2)/2*limb_speed, (torad(90) +sin(var.ls*2)*1.2)*var.run)*var.land -(torad(90) +sin(var.float3)*1.2)*var.float",
					"right_wing2.ty": "2.5 -13",
					"left_wing2.ty": " 2.5 -13",
					"right_wing2.tz": "2.5 -4",
					"left_wing2.tz": " 2.5 -4"
				},
				{
					"right_leg.rx": "(torad(-45) +torad(60)*limb_speed +sin(torad( 0)+var.float1)/3)*var.float +if(is_in_water, torad(55) +sin(var.swim)/3, +(( sin(var.ls)*0.7*limb_speed +sin(var.ls)/6)*var.run +( asin(sin(var.ls_walk))/1.8*clamp(limb_speed*3, 0.2, 1))*var.walk )*var.land ) +cos(var.b)/40",
					"left_leg.rx": " (torad(-45) +torad(60)*limb_speed +sin(torad(90)+var.float1)/3)*var.float +if(is_in_water, torad(55) -sin(var.swim)/3, +((-sin(var.ls)*0.7*limb_speed -sin(var.ls)/6)*var.run +(-asin(sin(var.ls_walk))/1.8*clamp(limb_speed*3, 0.2, 1))*var.walk )*var.land ) +cos(var.b)/40",
					"right_leg.ry": "torad( 10)*(1-limb_speed) +torad( 5) +if(is_in_water, torad(-30), 0)",
					"left_leg.ry": " torad(-10)*(1-limb_speed) +torad(-5) +if(is_in_water, torad( 30), 0)",
					"right_leg.tx": "-1.5 +if(is_ridden, 0, sin(var.float2))*var.float +((sin(torad(90)+var.ls)/3*limb_speed)*var.run +(sin(torad(90)+var.ls_walk)/3*clamp(limb_speed*3, 0, 1))*var.walk -sin(torad(90)+var.b)/20)*var.land +if(is_in_water,  0.5, 0)",
					"left_leg.tx": "  1.5 +if(is_ridden, 0, sin(var.float2))*var.float +((sin(torad(90)+var.ls)/3*limb_speed)*var.run +(sin(torad(90)+var.ls_walk)/3*clamp(limb_speed*3, 0, 1))*var.walk +sin(torad(90)+var.b)/20)*var.land +if(is_in_water, -0.5, 0)",
					"right_leg.ty": "19 +if(is_in_water, -1 +cos(var.swim)/1.5, clamp((-1.5 +cos(var.ls)*limb_speed)*var.run +( cos(var.ls_walk)*2*clamp(limb_speed*3, 0, 1))*var.walk, -4, 0)*var.land +(-2*limb_speed)*var.float) +if(is_ridden, 0, is_riding, if(is_child, -2, 0), 0)",
					"left_leg.ty": " 19 +if(is_in_water, -1 -cos(var.swim)/1.5, clamp((-1.5 -cos(var.ls)*limb_speed)*var.run +(-cos(var.ls_walk)*2*clamp(limb_speed*3, 0, 1))*var.walk, -4, 0)*var.land +(-2*limb_speed)*var.float) +if(is_ridden, 0, is_riding, if(is_child, -2, 0), 0)",
					"right_leg.tz": "1 +if(is_ridden, 0, sin(torad(90)+var.float1))*var.float +(sin(torad(-90)+var.b)/8)*var.land +if(is_in_water, -2, 0)",
					"left_leg.tz": " 1 +if(is_ridden, 0, sin(torad(90)+var.float1))*var.float +(sin(torad(-90)+var.b)/8)*var.land +if(is_in_water, -2, 0)",
					"right_foot.rx": "(torad(20) +torad(30)*limb_speed +cos(var.float1)/3)*var.float +if(is_in_water, torad(10) +cos(var.swim)/2, (( cos(var.ls +cos(var.ls )*1.3 )*0.7/1.2*limb_speed -sin(var.ls)/6 )*var.run +(-asin(sin(var.ls_walk))/1.8*clamp(limb_speed*3, 0.2, 1) +( cos(-pi/4 +var.ls_walk) +torad(10))*clamp(0.5 -cos(torad(10)+var.ls_walk)/1.5, 0, 1)*clamp(limb_speed*3, 0, 1) )*var.walk)*var.land ) -cos(var.b)/40",
					"left_foot.rx": " (torad(20) +torad(30)*limb_speed +sin(var.float1)/3)*var.float +if(is_in_water, torad(10) -cos(var.swim)/2, ((-cos(var.ls -cos(var.ls )*1.3 )*0.7/1.2*limb_speed +sin(var.ls)/6 )*var.run +( asin(sin(var.ls_walk))/1.8*clamp(limb_speed*3, 0.2, 1) +(-cos(-pi/4 +var.ls_walk) +torad(10))*clamp(0.5 +cos(torad(10)+var.ls_walk)/1.5, 0, 1)*clamp(limb_speed*3, 0, 1) )*var.walk)*var.land ) -cos(var.b)/40"
				},
				{
					"chin2.rx": "((sin(var.ls*2)/4)*limb_speed*var.run +(sin(var.ls_walk*2)/4)*limb_speed*var.walk)*var.land +clamp(-head2.rx/2 +(sin(var.float1)/5)*var.float, torad(-90), 0) +(cos(var.r+var.t)/3)*var.eat",
					"chin2.rz": "(sin(torad(90)+var.float2)/5)*var.float +((-sin(var.ls)/3)*limb_speed*var.run +(-sin(var.ls_walk)/3)*limb_speed*var.walk )*var.land +clamp(torad(var.hy), torad(-90), torad(90))/3*limb_speed",
					"chin2.ty": "-2",
					"chin2.sy": "if(is_child, 0.5, 1)",
					"comb.rz": "torad(10) +(sin(torad(-90)+var.float2)/6)*var.float +(-sin(torad(-45)+var.b)/30 +(sin(var.ls)/3)*limb_speed*var.run +(sin(var.ls_walk)/3)*limb_speed*var.walk )*var.land",
					"comb.rx": "(-cos(var.r+var.t)/4)*var.eat",
					"feathers.rx": "torad(-90) +(-sin(var.float1)/4)*var.float +(-sin(torad(45)+var.ls*2)/4*limb_speed*var.run -sin(torad(45)+var.ls_walk*2)/4*limb_speed*var.walk)*var.land",
					"feathers.ry": "(-sin(var.ls)/3)*limb_speed*var.run +(-sin(var.ls_walk)/3)*limb_speed*var.walk",
					"feathers.rz": "(sin(torad( 90)+var.float2)/4)*var.float +(-sin(torad(20)+var.ls)/3*limb_speed*var.run  -sin(torad(20)+var.ls_walk)/3*limb_speed*var.walk )*var.land",
					"right_eyelid.tz": "0",
					"left_eyelid.tz": " 0",
					"right_blink.sy": "clamp((1.5 -abs(sin(var.r+var.t/5)*6))*clamp(-32 +cos((var.r+var.t/5)/1.5)*40 +cos((var.r+var.t/5)/4)*40, 0, 1), 0, 1)",
					"left_blink.sy": "  right_blink.sy",
					"right_blink2.sy": "right_blink.sy",
					"left_blink2.sy": " right_blink.sy",
					"right_blink.sz": "if(right_eyelid.sy==0||right_blink.sy==0, 0, 1)",
					"left_blink.sz": " if( left_eyelid.sy==0|| left_blink.sy==0, 0, 1)",
					"right_blink2.sz": "if(right_eyelid.sy==0||right_blink2.sy==0, 0, 1)",
					"left_blink2.sz": " if( left_eyelid.sy==0|| left_blink2.sy==0, 0, 1)"
				},
				{
					"head_part.rx": "head2.rx",
					"head_part.ry": "head2.ry",
					"head_part.rz": "head2.rz",
					"head_part.tx": "head2.tx",
					"head_part.ty": "head2.ty +8",
					"head_part.tz": "head2.tz",
					"head_part.sx": "head2.sx",
					"head_part.sy": "head2.sy",
					"head_part.sz": "head2.sz",
					"right_wing_part.rx": "right_wing2.rx",
					"right_wing_part.ry": "right_wing2.ry",
					"right_wing_part.rz": "right_wing2.rz",
					"right_wing_part.tx": "right_wing2.tx",
					"right_wing_part.ty": "right_wing2.ty +8",
					"right_wing_part.tz": "right_wing2.tz",
					"left_wing_part.rx": "left_wing2.rx",
					"left_wing_part.ry": "left_wing2.ry",
					"left_wing_part.rz": "left_wing2.rz",
					"left_wing_part.tx": "left_wing2.tx",
					"left_wing_part.ty": "left_wing2.ty +8",
					"left_wing_part.tz": "left_wing2.tz"
				}
			]
		},
		{
			"part": "bill",
			"id": "bill",
			"invertAxis": "xy",
			"translate": [0, -9, 4]
		},
		{
			"part": "chin",
			"id": "chin",
			"invertAxis": "xy",
			"translate": [0, -9, 4]
		},
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, -7, 0],
			"submodels": [
				{
					"id": "rotation",
					"invertAxis": "xy",
					"translate": [0, 7.5, 0.5],
					"rotate": [-90, 0, 0],
					"submodels": [
						{
							"id": "bone7",
							"invertAxis": "xy",
							"translate": [-0.1, -2.74938, 0.38792],
							"rotate": [-127.5, 0, 0],
							"submodels": [
								{
									"id": "feathers",
									"invertAxis": "xy",
									"translate": [0, 0, 0],
									"rotate": [-36, 0, 0],
									"boxes": [
										{"coordinates": [-1.9, -1.96489, -2.32361, 4, 4, 4], "textureOffset": [20, 14]}
									],
									"submodels": [
										{
											"id": "bone3",
											"invertAxis": "xy",
											"translate": [0, -1.86053, 1.67677],
											"rotate": [-29, 0, 0],
											"boxes": [
												{"coordinates": [-0.9, -3.15185, -3.3494, 2, 5, 3], "textureOffset": [0, 23]}
											]
										}
									]
								}
							]
						},
						{
							"id": "head3",
							"invertAxis": "xy",
							"translate": [0, 0, 0],
							"rotate": [90, 0, 0],
							"submodels": [
								{
									"id": "head2",
									"invertAxis": "xy",
									"translate": [0, 3.5, -0.5],
									"rotate": [90, 0, 0],
									"submodels": [
										{
											"id": "bone4",
											"invertAxis": "xy",
											"translate": [-0.1, -0.067, 0.90707],
											"rotate": [24, 0, 0],
											"boxes": [
												{"coordinates": [-2.5, -2.06269, -1.86542, 5, 4, 4], "textureOffset": [0, 14]}
											]
										},
										{
											"id": "bone5",
											"invertAxis": "xy",
											"translate": [0, 1.22657, -0.47588],
											"rotate": [163.5, 0, 0],
											"boxes": [
												{"coordinates": [-1, -2.30987, -0.85022, 2, 4, 2], "textureOffset": [51, 19]}
											]
										},
										{
											"id": "comb",
											"invertAxis": "xy",
											"translate": [0, 5.89986, -2.48173],
											"submodels": [
												{
													"id": "bone6",
													"invertAxis": "xy",
													"translate": [0, 0.4, 1],
													"rotate": [-9, 0, 0],
													"boxes": [
														{"coordinates": [-0.5, -1.74201, -1.96627, 1, 2, 4], "textureOffset": [34, 8]},
														{"coordinates": [0, -1.74201, -2.46627, 0, 3, 5], "textureOffset": [41, 2]}
													]
												}
											]
										},
										{
											"id": "chin2",
											"invertAxis": "xy",
											"translate": [0, 1.99986, -2.78173],
											"boxes": [
												{"coordinates": [-0.5, -1.5, -0.2, 1, 2, 2], "textureOffset": [38, 21]}
											]
										}
									],
									"boxes": [
										{
											"coordinates": [-1.5, 2.49986, -2.68173, 3, 3, 3],
											"uvNorth": [16, 26, 19, 29],
											"uvEast": [13, 26, 16, 29],
											"uvSouth": [22, 26, 25, 29],
											"uvWest": [19, 26, 22, 29],
											"uvUp": [19, 26, 16, 23],
											"uvDown": [22, 23, 19, 26]
										},
										{"coordinates": [-0.5, 2.49986, -4.68173, 1, 1, 2], "textureOffset": [16, 30]}
									]
								}
							]
						},
						{
							"id": "bone",
							"invertAxis": "xy",
							"translate": [0, 0, 0]
						}
					],
					"boxes": [
						{"coordinates": [-3, -3.5, -3.4, 6, 7, 6], "textureOffset": [1, 0]}
					]
				},
				{
					"id": "right_wing2",
					"invertAxis": "xy",
					"mirrorTexture": "u",
					"translate": [2.68551, 8.91387, 3.26051],
					"rotate": [0, -10.88302, 7.94941],
					"boxes": [
						{"coordinates": [-0.22838, -4.13146, -0.61757, 1, 4, 3], "textureOffset": [9, 30]},
						{"coordinates": [-0.22838, -3.13146, 2.38243, 1, 3, 2], "textureOffset": [38, 15]},
						{"coordinates": [-0.22838, -1.13146, 4.38243, 1, 1, 1], "textureOffset": [0, 3]}
					]
				},
				{
					"id": "left_wing2",
					"invertAxis": "xy",
					"translate": [-2.68551, 8.91387, 3.26051],
					"rotate": [0, 10.88302, -7.94941],
					"boxes": [
						{"coordinates": [-0.77162, -4.13146, -0.61757, 1, 4, 3], "textureOffset": [9, 30]},
						{"coordinates": [-0.77162, -3.13146, 2.38243, 1, 3, 2], "textureOffset": [38, 15]},
						{"coordinates": [-0.77162, -1.13146, 4.38243, 1, 1, 1], "textureOffset": [0, 3]}
					]
				}
			]
		},
		{
			"part": "left_wing",
			"id": "left_wing",
			"invertAxis": "xy",
			"translate": [3.5, -11, 0]
		},
		{
			"part": "right_wing",
			"id": "right_wing",
			"invertAxis": "xy",
			"translate": [-3.5, -11, 0]
		},
		{
			"part": "right_leg",
			"id": "right_leg",
			"invertAxis": "xy",
			"translate": [-2, -5, -1],
			"submodels": [
				{
					"id": "right_foot",
					"invertAxis": "xy",
					"translate": [2.35, 0.05454, -0.04247],
					"submodels": [
						{
							"id": "right_leg_sub_2",
							"invertAxis": "xy",
							"translate": [0, 0, 0],
							"boxes": [
								{"coordinates": [-1.5, 0, -4, 3, 0, 4], "textureOffset": [5, 48]}
							]
						}
					]
				},
				{
					"id": "right_leg_sub_0",
					"invertAxis": "xy",
					"translate": [2, 0, -0.5],
					"rotate": [10, 0, 0],
					"boxes": [
						{"coordinates": [-0.9, 3.87741, -1.82917, 2, 4, 3], "textureOffset": [25, 27]},
						{"coordinates": [-0.9, -0.12259, -1.82917, 2, 4, 3], "textureOffset": [25, 34]}
					],
					"submodels": [
						{
							"id": "bone13",
							"invertAxis": "xy",
							"translate": [0, 4.27134, 1.40137],
							"rotate": [17.5, 0, 0],
							"boxes": [
								{"coordinates": [-0.4, -5.33479, -1.76699, 1, 5, 1], "textureOffset": [15, 41]}
							]
						}
					]
				}
			]
		},
		{
			"part": "left_leg",
			"id": "left_leg",
			"invertAxis": "xy",
			"translate": [2, -5, -1.2],
			"submodels": [
				{
					"id": "left_leg_sub_0",
					"invertAxis": "xy",
					"mirrorTexture": "u",
					"translate": [-2, 0, -0.5],
					"rotate": [10, 0, 0],
					"boxes": [
						{"coordinates": [-1.1, 3.87741, -1.82917, 2, 4, 3], "textureOffset": [25, 27]},
						{"coordinates": [-1.1, -0.12259, -1.82917, 2, 4, 3], "textureOffset": [25, 34]}
					],
					"submodels": [
						{
							"id": "bone2",
							"invertAxis": "xy",
							"mirrorTexture": "u",
							"translate": [0, 4.27134, 1.40137],
							"rotate": [17.5, 0, 0],
							"boxes": [
								{"coordinates": [-0.6, -5.33479, -1.76699, 1, 5, 1], "textureOffset": [15, 41]}
							]
						}
					]
				},
				{
					"id": "left_foot",
					"invertAxis": "xy",
					"translate": [-2.35, 0.05454, -0.04247],
					"submodels": [
						{
							"id": "left_leg_sub_3",
							"invertAxis": "xy",
							"mirrorTexture": "u",
							"translate": [0, 0, 0],
							"boxes": [
								{"coordinates": [-1.5, 0, -4, 3, 0, 4], "textureOffset": [5, 48]}
							]
						}
					]
				}
			]
		}
	]
}