{
	"credit": "Created by FreshLX for Fresh Animations",
	"textureSize": [32, 32],
	"models": [
		{
			"part":"root",
			"id":"root",
			"model":"cod_animations.jpm",
			"attach":"true"
		},
		{
			"part": "head",
			"id": "head",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"submodels": [
				{
					"id": "Created_by_FreshLX_for_Fresh_Animations",
					"invertAxis": "xy",
					"translate": [0, 0, 0]
				}
			]
		},
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, -2, 0],
			"submodels": [
				{
					"id": "body2",
					"invertAxis": "xy",
					"translate": [0, 2, 0],
					"boxes": [
						{"coordinates": [-1, -2, 0, 2, 4, 7], "textureOffset": [0, 0]}
					],
					"submodels": [
						{
							"id": "tail2",
							"invertAxis": "xy",
							"translate": [0, 0, 7],
							"boxes": [
								{"coordinates": [0, -2, 0, 0, 4, 4], "textureOffset": [22, 3]}
							]
						},
						{
							"id": "fin_back2",
							"invertAxis": "xy",
							"translate": [0, 2, 0],
							"boxes": [
								{"coordinates": [0, 0, -1, 0, 1, 6], "textureOffset": [20, -6]}
							]
						},
						{
							"id": "left_fin",
							"invertAxis": "xy",
							"translate": [-1, -1, 0],
							"rotate": [0, 0, 45],
							"boxes": [
								{"coordinates": [-2, 0, -0.5, 2, 0, 2], "textureOffset": [24, 4]}
							]
						},
						{
							"id": "right_fin",
							"invertAxis": "xy",
							"translate": [1, -1, 0],
							"rotate": [0, 0, -45],
							"boxes": [
								{"coordinates": [0, 0, -0.5, 2, 0, 2], "textureOffset": [24, 1]}
							]
						},
						{
							"id": "head2",
							"invertAxis": "xy",
							"translate": [0, 0, 0],
							"boxes": [
								{"coordinates": [-1, -2, -3, 2, 4, 3], "textureOffset": [11, 0]},
								{"coordinates": [-1, -1, -4, 2, 3, 1], "textureOffset": [0, 0]}
							]
						}
					]
				}
			]
		},
		{
			"part": "nose",
			"id": "nose",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "fin_left",
			"id": "fin_left",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "fin_right",
			"id": "fin_right",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "fin_back",
			"id": "fin_back",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "tail",
			"id": "tail",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
	    {
		    "part": "body",
			"id": "gyroscope",
			"model": "cod_health_bar.jpm",
            "attach": "true",
            "scale": "0.8",
			"animations": [
	            {
				   "this.visible": "!is_ridden",
				   "gyroscope.rx": "-body.rx",
				   "gyroscope.ry": "-body.ry - tail.ry/6.2",
				   "gyroscope.rz": "-body.rz - if(is_in_water,0,torad(90))",
				   "health_bar.ty": "-11",
		           "health_bar.ry": "player_rot_y - rot_y + torad(180)",
				   "health_bar.rx": "-player_rot_x"
		        }
		    ]
		}
	]
}