{
	"credit": "Created by FreshLX for Patrix",
	"textureSize": [128, 64],
	"models": [
		{
			"part": "head",
			"id": "head",
			"invertAxis": "xy",
			"translate": [0, -9, 4],
			"submodels": [
				{
					"id": "Created_by_FreshLX_for_Patrix",
					"invertAxis": "xy",
					"translate": [0, 0, 0]
				}
			],
			"animations": [
				{
					"var.r": "random(id)*pi*4",
					"var.t": "(time*pi*2)/6",
					"var.ls": "     limb_swing/if(is_child, 1.3, 1)*0.8",
					"var.ls_walk": "limb_swing/if(is_child, 2  , 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": "clamp(torad(head_yaw), torad(-90), torad(90))/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": "-9 +if(is_child, 3, 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": "-4 +if(is_child, 2, 0) +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, 1.6, 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 +if(is_child, 16.5, 16)",
					"body.sx": "if(is_child, 0.8, 1)",
					"body.sy": "body.sx",
					"body.sz": "body.sx",
					"rotation2.rx": "( head2.rx -(torad(80) -abs(sin(var.r/2+var.t/2)/4 -cos(var.r/2+var.t/2)/3))*var.eat )/2 -if(is_in_water, 0, -0.1 +cos(var.ls_walk*2 -sin(var.ls_walk*2 )/2)*0.2 *limb_speed)*var.walk/2",
					"rotation2.rz": "-clamp(torad(head_yaw), torad(-45), torad(45))/4",
					"rotation2.tx": "-torad(head_yaw)/6",
					"rotation2.ty": "-1 +head2.tz/3",
					"rotation2.tz": "1 -torad(head_pitch)/2 -1.8*var.eat",
					"rotation2.sx": "if(is_child, 0, 1)",
					"rotation2.sy": "rotation2.sx",
					"rotation2.sz": "rotation2.sx"
				},
				{
					"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 -12.8",
					"left_wing2.ty": " 2.5 -12.8"
				},
				{
					"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)/38)*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)/38)*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",
					"right_leg2.rx": "-right_leg.rx/2",
					"left_leg2.rx": " - left_leg.rx/2",
					"right_leg2.ty": "-right_leg.ty/2 +5",
					"left_leg2.ty": " - left_leg.ty/2 +5"
				},
				{
					"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(head_yaw), torad(-90), torad(90))/3*limb_speed",
					"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": "(-sin(var.float1)/4)*var.float +(-sin(torad(45)+var.ls*2)/4*limb_speed*var.run -sin(torad(45)+var.ls_walk*2)/8*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"
				}
			]
		},
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, -8, 0],
			"submodels": [
				{
					"id": "rotation",
					"invertAxis": "xy",
					"translate": [0, 8, 0],
					"rotate": [-90, 0, 0],
					"boxes": [
						{
							"coordinates": [-4, -4, -4, 8, 8, 7],
							"uvNorth": [14, 32, 30, 48],
							"uvEast": [0, 32, 14, 48],
							"uvSouth": [44, 32, 60, 48],
							"uvWest": [30, 32, 44, 48],
							"uvUp": [30, 32, 14, 18],
							"uvDown": [46, 18, 30, 32]
						},
						{
							"coordinates": [-2, -6, -3, 4, 2, 5],
							"uvNorth": [10, 60, 18, 64],
							"uvEast": [0, 60, 10, 64],
							"uvSouth": [28, 60, 36, 64],
							"uvWest": [18, 60, 28, 64],
							"uvDown": [26, 50, 18, 60]
						}
					],
					"submodels": [
						{
							"id": "rotation2",
							"invertAxis": "xy",
							"translate": [0, 2, 1],
							"boxes": [
								{
									"coordinates": [-2.5, -1, -3, 5, 4, 6],
									"uvNorth": [64, 12, 74, 20],
									"uvEast": [52, 12, 64, 20],
									"uvSouth": [86, 12, 96, 20],
									"uvWest": [74, 12, 86, 20],
									"uvUp": [74, 12, 64, 0],
									"uvDown": [84, 0, 74, 12]
								}
							]
						},
						{
							"id": "feathers",
							"invertAxis": "xy",
							"translate": [0, -4, 1],
							"boxes": [
								{
									"coordinates": [0, -5.875, -5, 0, 6, 10],
									"uvWest": [64, 52, 84, 64]
								}
							]
						}
					]
				},
				{
					"id": "head2",
					"invertAxis": "xy",
					"translate": [0, 9, -3],
					"boxes": [
						{
							"coordinates": [-0.75, 3.5, -4, 1.5, 1.5, 1.5],
							"uvNorth": [27, 3, 30, 6],
							"uvEast": [24, 3, 27, 6],
							"uvWest": [30, 3, 33, 6],
							"uvUp": [30, 3, 27, 0],
							"uvDown": [33, 0, 30, 3]
						},
						{
							"coordinates": [-1.5, 0, -2.5, 3, 6, 3],
							"uvNorth": [6, 6, 12, 18],
							"uvEast": [0, 6, 6, 18],
							"uvSouth": [18, 6, 24, 18],
							"uvWest": [12, 6, 18, 18],
							"uvUp": [12, 6, 6, 0],
							"uvDown": [18, 0, 12, 6]
						}
					],
					"submodels": [
						{
							"id": "comb",
							"invertAxis": "xy",
							"translate": [0, 6, -2],
							"boxes": [
								{
									"coordinates": [0, -1, -1.5, 0, 3, 4],
									"uvWest": [36, 12, 44, 18]
								}
							]
						},
						{
							"id": "chin2",
							"invertAxis": "xy",
							"translate": [0, 3.5, -2.5],
							"boxes": [
								{
									"coordinates": [0, -2, -1.5, 0, 2, 1.5],
									"uvWest": [27, 14, 30, 18]
								}
							]
						}
					]
				},
				{
					"id": "right_wing2",
					"invertAxis": "xy",
					"translate": [4, 10.5, -2],
					"boxes": [
						{
							"coordinates": [-0.25, -5.5, -1, 1, 6, 7],
							"uvNorth": [112, 52, 110, 64],
							"uvEast": [126, 52, 112, 64],
							"uvUp": [110, 52, 112, 38]
						}
					]
				},
				{
					"id": "left_wing2",
					"invertAxis": "xy",
					"translate": [-4, 10.5, -2],
					"boxes": [
						{
							"coordinates": [-0.75, -5.5, -1, 1, 6, 7],
							"uvNorth": [110, 52, 112, 64],
							"uvWest": [112, 52, 126, 64],
							"uvUp": [112, 52, 110, 38]
						}
					]
				}
			]
		},
		{
			"part": "right_leg",
			"id": "right_leg",
			"invertAxis": "xy",
			"translate": [-1.5, -5, -1],
			"submodels": [
				{
					"id": "right_leg2",
					"invertAxis": "xy",
					"translate": [1.5, 5, 1],
					"boxes": [
						{
							"coordinates": [-1.5, -2, -2, 3, 2, 3],
							"uvNorth": [116, 6, 110, 10],
							"uvEast": [122, 6, 116, 10],
							"uvSouth": [128, 6, 122, 10],
							"uvWest": [110, 6, 104, 10],
							"uvUp": [110, 6, 116, 0],
							"uvDown": [116, 0, 122, 6]
						}
					]
				},
				{
					"id": "right_foot",
					"invertAxis": "xy",
					"translate": [1.5, 0, 1],
					"boxes": [
						{
							"coordinates": [-1.5, 0, -3, 3, 0, 3],
							"uvUp": [116, 16, 122, 10]
						}
					]
				}
			],
			"boxes": [
				{
					"coordinates": [0, 0, 1, 3, 5, 0],
					"uvSouth": [128, 16, 122, 26]
				}
			]
		},
		{
			"part": "left_leg",
			"id": "left_leg",
			"invertAxis": "xy",
			"translate": [1.5, -5, -1],
			"submodels": [
				{
					"id": "left_leg2",
					"invertAxis": "xy",
					"translate": [-1.5, 5, 1],
					"boxes": [
						{
							"coordinates": [-1.5, -2, -2, 3, 2, 3],
							"uvNorth": [110, 6, 116, 10],
							"uvEast": [104, 6, 110, 10],
							"uvSouth": [122, 6, 128, 10],
							"uvWest": [116, 6, 122, 10],
							"uvUp": [116, 6, 110, 0],
							"uvDown": [122, 0, 116, 6]
						}
					]
				},
				{
					"id": "left_foot",
					"invertAxis": "xy",
					"translate": [-1.5, 0, 1],
					"boxes": [
						{
							"coordinates": [-1.5, 0, -3, 3, 0, 3],
							"uvUp": [122, 16, 116, 10]
						}
					]
				}
			],
			"boxes": [
				{
					"coordinates": [-3, 0, 1, 3, 5, 0],
					"uvSouth": [122, 16, 128, 26]
				}
			]
		},
		{
			"part": "right_wing",
			"id": "right_wing",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "left_wing",
			"id": "left_wing",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "bill",
			"id": "bill",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "chin",
			"id": "chin",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		}
	]
}