{
	"credit": "Created by FreshLX for Fresh Animations",
	"textureSize": [64, 64],
	"models": [
		{
			"part":"root",
			"id":"root",
			"model":"magma_cube_animations.jpm",
			"attach":"true"
		},
		{
			"part": "segment1",
			"id": "segment1",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"submodels": [
				{
					"id": "Created_by_FreshLX_for_Fresh_Animations",
					"invertAxis": "xy",
					"translate": [0, 0, 0]
				}
			]
		},
		{
			"part": "core",
			"id": "core",
			"invertAxis": "xy",
			"translate": [0, 0, 0],
			"boxes": [
				{"coordinates": [-2, 2, -2, 4, 4, 4], "textureOffset": [24, 40]}
			],
			"submodels": [
				{
					"id": "layer8",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, -4, -4, 8, 1, 8], "textureOffset": [32, 27]}
					]
				},
				{
					"id": "layer7",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, -3, -4, 8, 1, 8], "textureOffset": [32, 18]}
					]
				},
				{
					"id": "layer6",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, -2, -4, 8, 1, 8], "textureOffset": [32, 9]}
					]
				},
				{
					"id": "layer5",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, -1, -4, 8, 1, 8], "textureOffset": [32, 0]}
					]
				},
				{
					"id": "layer4",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, 0, -4, 8, 1, 8], "textureOffset": [0, 27]}
					],
					"submodels": [
						{
							"id": "right_eye_b",
							"invertAxis": "xy",
							"translate": [2, 1, -4],
							"boxes": [
								{
									"coordinates": [-1, -1, -0.002, 2, 1, 0],
									"uvNorth": [1, 3, 3, 4]
								}
							]
						},
						{
							"id": "left_eye_b",
							"invertAxis": "xy",
							"translate": [-2, 1, -4],
							"boxes": [
								{
									"coordinates": [-1, -1, -0.002, 2, 1, 0],
									"uvNorth": [5, 3, 7, 4]
								}
							]
						}
					]
				},
				{
					"id": "layer3",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, 1, -4, 8, 1, 8], "textureOffset": [0, 18]}
					],
					"submodels": [
						{
							"id": "right_eye_t",
							"invertAxis": "xy",
							"translate": [2, 1, -4],
							"boxes": [
								{
									"coordinates": [-1, 0, -0.002, 2, 1, 0],
									"uvNorth": [1, 2, 3, 3]
								}
							]
						},
						{
							"id": "left_eye_t",
							"invertAxis": "xy",
							"translate": [-2, 1, -4],
							"boxes": [
								{
									"coordinates": [-1, 0, -0.002, 2, 1, 0],
									"uvNorth": [5, 2, 7, 3]
								}
							]
						}
					]
				},
				{
					"id": "layer2",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, 2, -4, 8, 1, 8], "textureOffset": [0, 9]}
					]
				},
				{
					"id": "layer1",
					"invertAxis": "xy",
					"translate": [0, 4, 0],
					"boxes": [
						{"coordinates": [-4, 3, -4, 8, 1, 8], "textureOffset": [0, 0]}
					]
				}
			]
		},
		{
			"part": "segment2",
			"id": "segment2",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "segment3",
			"id": "segment3",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "segment4",
			"id": "segment4",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "segment5",
			"id": "segment5",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "segment6",
			"id": "segment6",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "segment7",
			"id": "segment7",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
		{
			"part": "segment8",
			"id": "segment8",
			"invertAxis": "xy",
			"translate": [0, 0, 0]
		},
	    {
		    "part": "core",
			"id": "gyroscope",
			"model": "magma_cube_health_bar.jpm",
            "attach": "true",
            "scale": "0.8",
			"animations": [
	            {
				   "this.visible": "!is_ridden",
				   "gyroscope.rx": "-core.rx",
				   "gyroscope.ry": "-core.ry",
				   "gyroscope.rz": "-core.rz",
				   "health_bar.ty": "-17",
				   "health_bar.ry": "player_rot_y - rot_y + torad(180)",
				   "health_bar.rx": "-player_rot_x"
		        }
		    ]
		}
	]
}