{
    "format_version": "1.10.0",
    "animations": {
      "animation.spear.move" : {
        "loop" : true,
        "bones" : {
          "pole" : {
            "rotation" : ["-query.target_x_rotation", "-query.body_y_rotation", 0],
            "position":[0, 0, 0 ]
          }
        }
      },
      "animation.spear.wield_first_person": {
        "loop": true,
        "bones": {
          "rightitem": {
            "rotation": ["c.is_first_person ? 150 : 0", "c.is_first_person ? 0 : 0","c.is_first_person ? 55 : 0"],
              "position": [ " c.is_first_person ? 8 : 0", "c.is_first_person ? 12 : 0", "c.is_first_person ? 4 : 0"]
          }
        }
      },
      "animation.spear.wield_first_person_raise": {
        "loop": true,
        "bones": {
          "rightitem": {
            "position": [
              "-8.0 + (variable.charge_amount <= 0.25 ? math.lerp(0.0, -6.5, variable.charge_amount * 4.0) : -6.5) + (variable.charge_amount > 0.25 ? math.lerp(0.0, -4.0, (variable.charge_amount - 0.25) * 1.33) : 0.0)",
              "-10.0 + (variable.charge_amount <= 0.25 ? math.lerp(0.0, -3.0, variable.charge_amount * 4.0) : -3.0) + (variable.charge_amount > 0.25 ? math.lerp(0.0, 3.0, (variable.charge_amount - 0.25) * 1.33) : 0.0)",
              "15.0 + (variable.charge_amount <= 0.25 ? math.lerp(0.0, -16.5, variable.charge_amount * 4.0) : -16.5) + (variable.charge_amount > 0.25 ? math.lerp(0.0, 0.0, (variable.charge_amount - 0.25) * 1.33) : 0.0)"
            ], 
            "rotation": [ 30.0, -20.0, -65.0 ]
          }
        }
      },
    "animation.spear.wield_third_person": {
      "loop": true,
      "bones": {
        "rightitem": {
            "position": [ 1, -1.5, 0],
          "rotation": [75, 0, 0]
        }
      }
    },
    "animation.spear.wield_third_person_raise": {
      "loop": true,
      "bones": {
        "rightitem": {
          "rotation": [ 0.0, 180.0, 0.0 ],
          "position": [ -2.0, -1.5, -5.0 ]
        }
      }
    },
		"animation.player_hold.spear": {
			"loop": true,
			"bones": {
			    "rightarm": {
			      "rotation": [250, 0, 0]

				},
				"rightitem": {
			      "rotation": [0, 0, 0]

				}
			}
		}
  }
  }