{
	"format_version": "1.8.0",
	"animations": {
		"animation.tsu_morph.ender_dragon.flying": {
			"loop": true,
			"animation_length": 2,
			"anim_time_update": "query.anim_time + q.delta_time * (1 + math.max(v.smooth_vertical_speed*0.2,0))",
			"bones": {
				"rootMorph": {
					"position": [0, "math.sin(q.anim_time * v.speed) * 1", 0]
				},
				"rightWing0": {
					"rotation": [0, 0, "-(math.sin(q.anim_time * v.speed) * 30)"]
				},
				"rightWing1": {
					"rotation": [0, 0, "-(math.cos(q.anim_time * v.speed) * -30)"]
				},
				"leftWing0": {
					"rotation": [0, 0, "math.sin(q.anim_time * v.speed) * 30"]
				},
				"leftWing1": {
					"rotation": [0, 0, "math.cos(q.anim_time * v.speed) * -30"]
				},
				"tail0": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*0) * v.amplitude", 0]
				},
				"tail1": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*1) * v.amplitude", 0]
				},
				"tail2": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*2) * v.amplitude", 0]
				},
				"tail3": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*3) * v.amplitude", 0]
				},
				"tail4": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*4) * v.amplitude", 0]
				},
				"tail5": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*5) * v.amplitude", 0]
				},
				"tail6": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*6) * v.amplitude", 0]
				},
				"tail7": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*7) * v.amplitude", 0]
				},
				"tail8": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*8) * v.amplitude", 0]
				},
				"tail9": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*9) * v.amplitude", 0]
				},
				"tail10": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*10) * v.amplitude", 0]
				},
				"tail11": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*11) * v.amplitude", 0]
				},
				"leftLeg0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"leftLeg1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightLeg0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightLeg1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"leftArm0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"leftArm1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightArm0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightArm1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				}
			},
			"sound_effects": {
				"0.375": {
					"effect": "flap"
				}
			}
		},
		"animation.tsu_morph.ender_dragon.gliding": {
			"loop": true,
			"bones": {
				"rootMorph": {
					"position": [0, "math.sin(q.anim_time * v.speed) * 1", 0]
				},
				"rightWing0": {
					"rotation": [0, 0, "2.5-(math.sin(q.anim_time * v.speed*8) * 1)"]
				},
				"rightWing1": {
					"rotation": [0, 0, "-5-(math.cos(q.anim_time * v.speed*8) * -1)"]
				},
				"leftWing0": {
					"rotation": [0, 0, "-2.5+(math.sin(q.anim_time * v.speed*8) * 1)"]
				},
				"leftWing1": {
					"rotation": [0, 0, "5+(math.cos(q.anim_time * v.speed*8) * -1)"]
				},
				"tail0": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*0) * v.amplitude", 0]
				},
				"tail1": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*1) * v.amplitude", 0]
				},
				"tail2": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*2) * v.amplitude", 0]
				},
				"tail3": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*3) * v.amplitude", 0]
				},
				"tail4": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*4) * v.amplitude", 0]
				},
				"tail5": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*5) * v.amplitude", 0]
				},
				"tail6": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*6) * v.amplitude", 0]
				},
				"tail7": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*7) * v.amplitude", 0]
				},
				"tail8": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*8) * v.amplitude", 0]
				},
				"tail9": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*9) * v.amplitude", 0]
				},
				"tail10": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*10) * v.amplitude", 0]
				},
				"tail11": {
					"rotation": [0, "math.sin(q.anim_time * v.speed + v.delay*11) * v.amplitude", 0]
				},
				"leftLeg0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"leftLeg1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightLeg0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightLeg1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"leftArm0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"leftArm1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightArm0Morph": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				},
				"rightArm1": {
					"rotation": ["math.cos(q.anim_time * v.speed) * -2", 0, 0]
				}
			}
		},
		"animation.tsu_morph.ender_dragon.rotation": {
			"loop": true,
			"bones": {
				"rootMorph": {
					"rotation": ["math.clamp(-v.smooth_vertical_speed * 4,-90,90)", 0, "math.clamp(-v.smooth_yaw_speed * 0.4,-90,90)"]
				},
				"neckMorph": {
					"rotation": [0, "v.smooth_yaw_speed2 * 0.4", 0]
				},
				"leftLeg0Morph": {
					"rotation": [0, "v.smooth_yaw_speed2 * 0.3", 0]
				},
				"rightLeg0Morph": {
					"rotation": [0, "v.smooth_yaw_speed2 * 0.3", 0]
				},
				"tail": {
					"rotation": [0, "v.smooth_yaw_speed2 * 0.4", 0]
				}
			}
		},
		"animation.tsu_morph.ender_dragon.scale": {
			"loop": true,
			"bones": {
				"rootMorph": {
					"position": [0, -11, 5],
					"scale": 0.4
				}
			}
		},
		"animation.tsu_morph.ender_dragon.look_at_target": {
			"loop": true,
			"bones": {
				"neck0": {
					"rotation": ["q.target_x_rotation/6", "q.target_y_rotation/6", 0]
				},
				"neck1": {
					"rotation": ["q.target_x_rotation/6", "q.target_y_rotation/6", 0]
				},
				"neck2": {
					"rotation": ["q.target_x_rotation/6", "q.target_y_rotation/6", 0]
				},
				"neck3": {
					"rotation": ["q.target_x_rotation/6", "q.target_y_rotation/6", 0]
				},
				"neck4": {
					"rotation": ["q.target_x_rotation/6", "q.target_y_rotation/6", 0]
				},
				"headMorph": {
					"rotation": ["q.target_x_rotation/6", "q.target_y_rotation/6", 0]
				}
			}
		},
		"animation.tsu_morph.ender_dragon.grounded": {
			"loop": true,
			"bones": {
				"rootMorph": {
					"position": [0, 7, 0]
				},
				"neck0": {
					"rotation": [32.5, 0, 0]
				},
				"neck1": {
					"rotation": [32.5, 0, 0]
				},
				"neck2": {
					"rotation": [-35, 0, 0]
				},
				"neck3": {
					"rotation": [-20, 0, 0]
				},
				"neck4": {
					"rotation": ["-32.5 + math.sin(q.anim_time*60) * 5", 0, 0]
				},
				"headMorph": {
					"rotation": [22.5, 0, 0]
				},
				"bodyMorph": {
					"position": [0, "math.sin(q.anim_time*60) * 1", 0]
				},
				"rightWing0": {
					"rotation": [0, 0, 45]
				},
				"rightWing1": {
					"rotation": [0, 0, -80]
				},
				"leftWing0": {
					"rotation": [0, 0, -45]
				},
				"leftWing1": {
					"rotation": [0, 0, 80]
				},
				"leftLeg0Morph": {
					"rotation": [-132.5, 0, 0],
					"position": [0, 2, 0]
				},
				"leftLeg1": {
					"rotation": [77.5, 0, 0]
				},
				"leftLeg2": {
					"rotation": [-50, 0, 0]
				},
				"rightLeg0Morph": {
					"rotation": [-132.5, 0, 0],
					"position": [0, 2, 0]
				},
				"rightLeg1": {
					"rotation": [77.5, 0, 0]
				},
				"rightLeg2": {
					"rotation": [-50, 0, 0]
				},
				"leftArm0Morph": {
					"rotation": [-10, 0, 0]
				},
				"leftArm1": {
					"rotation": [-67.5, 0, 0]
				},
				"rightArm0Morph": {
					"rotation": [-10, 0, 0]
				},
				"rightArm1": {
					"rotation": [-67.5, 0, 0]
				},
				"tail0": {
					"rotation": ["math.sin(q.anim_time*60) * -5", 0, 0]
				},
				"tail2": {
					"rotation": [-5, 0, 0]
				},
				"tail3": {
					"rotation": [-5, 0, 0]
				},
				"tail5": {
					"rotation": [7.5, 0, 0]
				},
				"tail7": {
					"rotation": [5, 0, 0]
				},
				"tail8": {
					"rotation": [5, 0, 0]
				},
				"tail9": {
					"rotation": [-5, 0, 0]
				},
				"tail10": {
					"rotation": [-10, 0, 0]
				},
				"tail11": {
					"rotation": [-5, 0, 0]
				}
			}
		}
	}
}