{
	"credit": "Created by FreshLX for Fresh Animations",
	"textureSize": [32, 32],
	"models": [
		{
			"part":"root",
			"id":"root",
			"model":"tropical_fish_b_animations.jpm",
			"attach":"true"
		},
		{
			"part": "tail",
			"id": "tail",
			"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, -3],
			"submodels": [
				{
					"id": "body2",
					"invertAxis": "xy",
					"translate": [0, 2.5, 0],
					"boxes": [
						{"coordinates": [-1, -2.5, -3, 2, 6, 6], "textureOffset": [0, 20]}
					],
					"submodels": [
						{
							"id": "right_fin",
							"invertAxis": "xy",
							"translate": [1, -1.5, -0.25],
							"rotate": [0, -45, 0],
							"boxes": [
								{
									"coordinates": [0, -1, 0, 2, 2, 0],
									"uvNorth": [2, 16, 4, 18],
									"uvSouth": [4, 16, 6, 18],
									"sizeAdd": 0.005
								}
							]
						},
						{
							"id": "left_fin",
							"invertAxis": "xy",
							"translate": [-1, -1.5, -0.25],
							"rotate": [0, 45, 0],
							"boxes": [
								{
									"coordinates": [-2, -1, 0, 2, 2, 0],
									"uvNorth": [2, 12, 4, 14],
									"uvSouth": [4, 12, 6, 14],
									"sizeAdd": 0.005
								}
							]
						},
						{
							"id": "fin_top2",
							"invertAxis": "xy",
							"translate": [0, 3.5, 0],
							"boxes": [
								{
									"coordinates": [0, 0, -3, 0, 4, 6],
									"uvEast": [20, 17, 26, 21],
									"uvWest": [26, 17, 32, 21],
									"sizeAdd": 0.005
								}
							]
						},
						{
							"id": "fin_bottom2",
							"invertAxis": "xy",
							"translate": [0, -2.5, 0],
							"boxes": [
								{
									"coordinates": [0, -4, -3, 0, 4, 6],
									"uvEast": [20, 27, 26, 31],
									"uvWest": [26, 27, 32, 31],
									"sizeAdd": 0.005
								}
							]
						},
						{
							"id": "tail2",
							"invertAxis": "xy",
							"translate": [0, 0.5, 2],
							"boxes": [
								{
									"coordinates": [0, -3, 0.8, 0, 6, 5],
									"uvEast": [21, 21, 26, 27],
									"uvWest": [26, 21, 31, 27],
									"sizeAdd": 0.005
								}
							]
						}
					]
				}
			]
		},
		{
			"part": "fin_top",
			"id": "fin_top",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "fin_bottom",
			"id": "fin_bottom",
			"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": "body",
			"id": "gyroscope",
			"model": "tropical_fish_health_bar.jpm",
            "attach": "true",
			"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": "-7",
		           "health_bar.ry": "player_rot_y - rot_y + torad(180)",
				   "health_bar.rx": "-player_rot_x"
		        }
		    ]
		}
	]
}