{
	"credit": "Created by FreshLX for Fresh Animations",
	"textureSize": [64, 64],
	"models": [
		{
			"part":"root",
			"id":"root",
			"model":"dolphin_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, -3, -2],
			"submodels": [
				{
					"id": "body2",
					"invertAxis": "xy",
					"translate": [0, 3, 2],
					"boxes": [
						{"coordinates": [-4, -3, -5, 8, 7, 13], "textureOffset": [22, 0]}
					],
					"submodels": [
						{
							"id": "head2",
							"invertAxis": "xy",
							"translate": [0, 1, -5],
							"boxes": [
								{"coordinates": [-4, -4, -6, 8, 7, 6], "textureOffset": [0, 0]},
								{"coordinates": [-1, -4, -10, 2, 2, 4], "textureOffset": [0, 13]}
							],
							"submodels": [
								{
									"id": "right_eye",
									"invertAxis": "xy",
									"translate": [4, -1, -3],
									"rotate": [0, -90, 0],
									"submodels": [
										{
											"id": "r_pupil",
											"invertAxis": "xy",
											"translate": [-1, -1, 0],
											"boxes": [
												{
													"coordinates": [0, 0, 0, 1, 1, 0],
													"uvNorth": [1, 4, 2, 5],
													"sizeAdd": 0.005
												}
											]
										},
										{
											"id": "r_eye_white",
											"invertAxis": "xy",
											"translate": [-1, -1, 0],
											"boxes": [
												{
													"coordinates": [0, 0, -0.002, 2, 1, 0],
													"uvNorth": [0, 5, 2, 6]
												}
											]
										}
									]
								},
								{
									"id": "left_eye",
									"invertAxis": "xy",
									"translate": [-4, -1, -3],
									"rotate": [0, 90, 0],
									"submodels": [
										{
											"id": "l_pupil",
											"invertAxis": "xy",
											"translate": [1, -1, 0],
											"boxes": [
												{
													"coordinates": [-1, 0, 0, 1, 1, 0],
													"uvNorth": [4, 4, 5, 5],
													"sizeAdd": 0.005
												}
											]
										},
										{
											"id": "l_eye_white",
											"invertAxis": "xy",
											"translate": [1, -1, 0],
											"boxes": [
												{
													"coordinates": [-2, 0, -0.002, 2, 1, 0],
													"uvNorth": [4, 5, 6, 6]
												}
											]
										}
									]
								}
							]
						},
						{
							"id": "top_fin",
							"invertAxis": "xy",
							"translate": [0, 3.9, -1],
							"rotate": [-60, 0, 0],
							"boxes": [
								{"coordinates": [-0.5, -4, 0, 1, 4, 5], "textureOffset": [51, 0]}
							]
						},
						{
							"id": "right_fin2",
							"invertAxis": "xy",
							"translate": [3, -2, -2],
							"rotate": [-55, 0, -90],
							"boxes": [
								{"coordinates": [-0.5, -0.70711, -0.70711, 1, 4, 7], "textureOffset": [48, 20]}
							]
						},
						{
							"id": "left_fin2",
							"invertAxis": "xy",
							"translate": [-3, -2, -2],
							"rotate": [-55, 0, 90],
							"boxes": [
								{"coordinates": [-0.5, -0.70711, -0.70711, 1, 4, 7], "textureOffset": [48, 20]}
							]
						},
						{
							"id": "tail2",
							"invertAxis": "xy",
							"translate": [0, -0.5, 7],
							"boxes": [
								{"coordinates": [-2, -2.5, 0, 4, 5, 11], "textureOffset": [0, 19]}
							],
							"submodels": [
								{
									"id": "tail_fin2",
									"invertAxis": "xy",
									"translate": [0, 0, 10],
									"boxes": [
										{"coordinates": [-5, -0.5, -1, 10, 1, 6], "textureOffset": [19, 20]}
									]
								}
							]
						}
					]
				}
			]
		},
		{
			"part": "tail",
			"id": "tail",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "right_fin",
			"id": "right_fin",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "left_fin",
			"id": "left_fin",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "back_fin",
			"id": "back_fin",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "tail_fin",
			"id": "tail_fin",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
	    {
		    "part": "body",
			"id": "gyroscope",
			"model": "dolphin_health_bar.jpm",
            "attach": "true",
			"animations": [
	            {
				   "this.visible": "!is_ridden",
				   "gyroscope.rx": "-body.rx",
				   "gyroscope.ry": "-body.ry",
				   "gyroscope.rz": "-body.rz",
				   "health_bar.ty": "-18",
				   "health_bar.ry": "player_rot_y - rot_y + torad(180)",
				   "health_bar.rx": "-player_rot_x"
		        }
		    ]
		}
	]
}