{
	"credit": "Created by Skaliber for Caelesti",
	"textureSize": [64, 32],
	"models": [
		{
			"part": "body",
			"id": "body",
			"invertAxis": "xy",
			"translate": [0, -39, 0],
			"submodels": [
				{
					"id": "spin",
					"invertAxis": "xy",
					"translate": [0, 23.5, 0],
					"boxes": [
						{"coordinates": [-4, 3.5, -2, 8, 12, 4], "textureOffset": [32, 16]}
					],
					"submodels": [
						{
							"id": "headwear2",
							"invertAxis": "xy",
							"translate": [0, 15.5, 0],
							"boxes": [
								{"coordinates": [-4, 0, -4, 8, 8, 8], "textureOffset": [0, 16], "sizeAdd": -0.5}
							],
							"submodels": [
								{
									"id": "head2",
									"invertAxis": "xy",
									"translate": [0, 0, 0],
									"boxes": [
										{"coordinates": [-4, 0, -4, 8, 8, 8], "textureOffset": [0, 0]}
									]
								}
							]
						},
						{
							"id": "right_arm2",
							"invertAxis": "xy",
							"translate": [5, 13.5, 0],
							"boxes": [
								{"coordinates": [-1, -28, -1, 2, 30, 2], "textureOffset": [56, 0]}
							]
						},
						{
							"id": "left_arm2",
							"invertAxis": "xy",
							"mirrorTexture": "u",
							"translate": [-5, 13.5, 0],
							"boxes": [
								{"coordinates": [-1, -28, -1, 2, 30, 2], "textureOffset": [56, 0]}
							]
						},
						{
							"id": "left_leg2",
							"invertAxis": "xy",
							"mirrorTexture": "u",
							"translate": [2, 6.5, 0],
							"boxes": [
								{"coordinates": [-1, -30, -1, 2, 30, 2], "textureOffset": [56, 0]}
							]
						},
						{
							"id": "right_leg2",
							"invertAxis": "xy",
							"translate": [-2, 6.5, 0],
							"boxes": [
								{"coordinates": [-1, -30, -1, 2, 30, 2], "textureOffset": [56, 0]}
							]
						}
					]
				}
			],
			"animations": [
				{
					"headwear2.rx": "headwear.rx",
					"headwear2.ry": "headwear.ry",
					"headwear2.rz": "headwear.rz",
					"left_arm2.rx": "if(varb.spin, sin(time/2), left_arm.rx)",
					"left_arm2.ry": "left_arm.ry",
					"left_arm2.rz": "left_arm.rz",
					"right_arm2.rx": "if(varb.spin, cos(time/2), right_arm.rx)",
					"right_arm2.ry": "right_arm.ry",
					"right_arm2.rz": "right_arm.rz",
					"left_leg2.rx": "if(varb.spin, sin(time/1.5) / 2, right_leg.rx)",
					"left_leg2.ry": "right_leg.ry",
					"left_leg2.rz": "right_leg.rz",
					"right_leg2.rx": "if(varb.spin, cos(time/1.5) / 2, left_leg.rx)",
					"right_leg2.ry": "left_leg.ry",
					"right_leg2.rz": "left_leg.rz",
					"head2.ty": "13 + head.ty"
				},
				{
					"var.position": "if(is_on_ground || var.first_frame == 0, -100, var.position == -100, pos_y, var.position)",
					"var.position_check": "if(var.position != -100 && pos_y - var.position > 2, 1, 0)",
					"varb.spin": "if(is_on_ground, 0, var.position_check == 1, 1, var.spin) > 0"
				},
				{
					"spin.rx": "if(varb.spin, -age / random(id) * 0.1, 0)",
					"spin.ry": "if(varb.spin, age / random(id + 1) * 0.1, 0)"
				},
				{
					"var.first_frame": 1
				}
			]
		},
		{
			"part": "head",
			"id": "head",
			"invertAxis": "xy",
			"translate": [0, -39, 0]
		},
		{
			"part": "headwear",
			"id": "headwear",
			"invertAxis": "xy",
			"translate": [0, -39, 0]
		},
		{
			"part": "right_arm",
			"id": "right_arm",
			"invertAxis": "xy",
			"translate": [-5, -37, 0]
		},
		{
			"part": "left_arm",
			"id": "left_arm",
			"invertAxis": "xy",
			"mirrorTexture": "u",
			"translate": [5, -37, 0]
		},
		{
			"part": "right_leg",
			"id": "right_leg",
			"invertAxis": "xy",
			"translate": [-2, -30, 0]
		},
		{
			"part": "left_leg",
			"id": "left_leg",
			"invertAxis": "xy",
			"mirrorTexture": "u",
			"translate": [2, -30, 0]
		}
	]
}