//This JSON was modified by rafael rosado (@carlosisawsom55), Netongas NG (@netongas_ng), AgentMindStorm (@agentms_), Kevin Okada (@LateLagMC), and Rainvay_ZCYF (@ZouChenyunfei). Please do not use this document without permission.
{
  "format_version" : "1.8.0",
  "animations" : {
    "animation.humanoid.attack.rotations" : {
     "loop" : true,
     "bones" : {
        "body" : {
          "rotation" : [ 0.0, "query.is_gliding ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360.0) * 11.46", 0.0 ]
        },
        "leftarm" : {
          "rotation" : [ "math.sin(math.sqrt(variable.attack_time) * 360) * 11.46", 0.0, 0.0 ]
        },
        "rightarm" : {
          "rotation" : [ "-(math.sin((1.0 - math.pow(1.0 - variable.attack_time, 2.0)) * 180.0) * 75.0 + math.sin(variable.attack_time * 180.0) * -0.75 * query.target_x_rotation)", "(math.sin(math.sqrt(variable.attack_time) * 360) * 11.46) * 2.0", "math.sin(math.sqrt(variable.attack_time) * 360) * 11.46" ]
        }
      }
    },
    "animation.humanoid.bob" : {
      "loop" : true,
      "bones" : {
        "leftarm" : {
          "rotation" : [ "math.sin(query.life_time * 76.8) * 2.865", 0.0, "((math.cos(query.life_time * 103.2) * 2.865) + 2.865) *-1.0" ]
        },
        "rightarm" : {
          "rotation" : [ "-math.sin(query.life_time * 76.8) * 2.865", 0.0, "(math.cos(query.life_time * 103.2) * 2.865) + 2.865" ]
        }
      }
    },
    "animation.humanoid.bow_and_arrow" : {
      "loop" : true,
      "bones" : {
        "leftarm" : {
          "rotation" : [ "q.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow') ? query.target_x_rotation - 90.0 - math.sin(query.life_time * 76.8) * 2.865 - this : 0.0", "q.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow') ? query.target_y_rotation + 28.65 : 0.0", "q.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow') ? -(math.cos(query.life_time * 103.2) * 2.865) - 2.865 : 0.0" ]
        },
        "rightarm" : {
          "rotation" : [ "q.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow') ? query.target_x_rotation - 90.0 + math.sin(query.life_time * 76.8) * 2.865 - this : 0.0", "q.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow') ? query.target_y_rotation - 5.73 : 0.0", "q.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow') ? (math.cos(query.life_time * 103.2) * 2.865) + 2.865 : 0.0" ]
        }
      }
    },
    "animation.humanoid.brandish_spear" : {
      "loop" : true,
      "bones" : {
        "rightarm" : {
          "rotation" : [ "this * -0.5 - 157.5 - 22.5 * variable.charge_amount", "-this", 0.0 ]
        }
      }
    },
    "animation.humanoid.anti_brandish_spear" : {
      "loop" : true,
      "bones" : {
        "rightarm" : {
          "rotation" : [ -90, 0.0, 0.0 ]
        }
      }
    },
    "animation.humanoid.holding_spyglass" : {
      "loop" : true,
      "bones" : {
        "rightarm" : {
          "rotation" : [ "math.clamp(query.target_x_rotation - 105 - (variable.is_sneaking ? 15 : 0), -170, 180) - (-math.sin(query.life_time * 76.8) * 2.865)", "math.clamp(query.target_y_rotation - 15, -60, 90)", "5.0 - ((math.cos(query.life_time * 103.2) * 2.865) + 2.865)" ]
        }
      }
    },
    "animation.humanoid.tooting_goat_horn" : {
      "loop" : true,
      "bones" : {
        "rightarm" : {
          "rotation" : [ "math.clamp(query.target_x_rotation + 10, -60, 75) - 75", "math.clamp(query.target_y_rotation, -37, 43) - 30", 5.0 ]
        },
        "rightitem": {
          "rotation": [ 0.0, 0.0, -55.0 ],
          "position": [ 2.0, 3.46, 0.97 ]
        }
      }
    },
//      "rightitem": {
//        "rotation": [ 0.0, 0.0, 125.0 ], These values pose the right item with a flat item pose active instead of the unique goat horn item pose.
//        "position": [ 4.4, -0.25, 0.97 ]
//      }
    "animation.humanoid.use_item_progress" : {
      "loop" : true,
      "bones" : {
        "leftarm" : {
          "rotation" : [ 0.0, 0.0, 0.0 ]
        }
      }
    }
  }
}