{
	"format_version" : "1.8.0",
	"animations" : {
		"animation.goat.baby_scaling": {
			"loop" : true,
			"bones" : {
				"head" : {
					"position" : [ 0.0, 10.0, 4.0 ],
					"scale" : 1.4
				}
			}
		},
		"animation.goat.look_at_target" : {
			"loop" : true,
			"bones" : {
				"head" : {
					"relative_to" : {
						"rotation" : "entity"
					},
					"rotation" : [ "math.clamp(query.target_x_rotation, -40, 40)", "math.clamp(query.target_y_rotation, -45, 25)", 0 ]
				}
			}
		},
		"animation.goat.walk" : {
			"loop" : true,
			"bones": {
				"right_back_leg" : {
					"rotation" : [ "variable.tcos_right_side * 0.5", 0.0, 0.0 ]
				},
				"left_back_leg" : {
					"rotation" : [ "variable.tcos_left_side * 0.5", 0.0, 0.0 ]
				},
				"right_front_leg" : {
					"rotation" : [ "-variable.tcos_right_side * 0.5", 0.0, 0.0 ]
				},
				"left_front_leg" : {
					"rotation" : [ "-variable.tcos_left_side * 0.5", 0.0, 0.0 ]
				}
			}
		},
		"animation.goat.attack": {
			"loop": true,
			"bones": {
				"head" : {
					"rotation" : [ "variable.attack_head_rot", 0, 0 ]
				}
			}
		},
    "animation.goat.ram_attack": {
      "loop": true,
      "anim_time_update": "Math.max(query.anim_time + (variable.should_bow_head ? query.delta_time : -query.delta_time * 4), 0)",
      "bones": {
        "head": {
          "rotation": {
            "0.0": [ 0, 0, 0 ],
            "2.0": [ 60, 0, 0 ]
          },
          "position": {
            "0.0": [ 0, 0, 0 ],
            "2.0": [ 0, -8, -3 ]
          }
        }
      }
    }
	}
}
