//This JSON was modified by Netongas NG (@netongas_ng), AgentMindStorm (@agentms_), and LateLag (@LateLagMC). Please do not use this document without permission.
{
  "format_version": "1.8.0",
  "animations": {
    "animation.piglin.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" ]
        },
        "leftear": {
          "rotation": [ 0.0, 0.0, "(-math.cos(query.life_time * 143.2) * 2.865)"]
        },
        "rightear": {
          "rotation": [ 0.0, 0.0, "(math.cos(query.life_time * 123.2) * 2.865)"]
        }
      }
    },
    "animation.piglin.celebrate_hunt_special": {
      "loop": true,
      "bones": {
        "leftear": {
          "rotation": [ 0.0, 0.0, "Math.sin(query.time_stamp * 30) * 10" ]
        },
        "rightear": {
          "rotation": [ 0.0, 0.0, "Math.cos(query.time_stamp * 30) * 10" ]
        },
        "head": {
          "position": [ "Math.sin(query.time_stamp * 10)", "(Math.sin(query.time_stamp * 40)) * 0.65 - 0.4", 0.0 ]
        },
        "rightarm": {
          "position": [ 0.0, "Math.sin(query.time_stamp * 40) * 0.15", 0.0 ],
          "rotation": [ 0.0, 0.0, "70 + Math.cos(query.time_stamp * 40) * 10"]
        },
        "leftarm": {
          "position": [ 0.0, "Math.sin(query.time_stamp * 40) * 0.15", 0.0 ],
          "rotation": [ 0.0, 0.0, "-70 - Math.cos(query.time_stamp * 40) * 10"]
        },
        "body": {
          "position": [ 0.0, "Math.sin(query.time_stamp * 40) * 0.35", 0.0 ]
        }
      }
    },
    "animation.piglin.crossbow.charge": {
      "loop": true,
      "bones": {
        "leftarm": {
          "rotation": [ "math.lerp(-55.62 + variable.x_bob, -90.0, variable.crossbow_charge) + variable.x_bob - this", "math.lerp(22.92, 48.70, variable.crossbow_charge) -this", 0.0 ]
        },
        "rightarm": {
          "rotation": [ "-55.62 + variable.x_bob - this", "-45.84 -this", 0.0 ]
        }
      },
      "loop": true
    },
    "animation.piglin.crossbow.hold": {
      "loop": true,
      "bones": {
        "leftarm": {
          "rotation": [ "-85.94 + query.target_x_rotation - variable.x_bob - this", "34.38 + math.clamp(query.target_y_rotation, -45, 45) -this", 0.0 ]
        },
        "rightarm": {
          "rotation": [ "-84.27 + query.target_x_rotation + variable.x_bob - this", "-17.19 + math.clamp(query.target_y_rotation, -45, 45) -this", 0.0 ]
        }
      }
    },
    "animation.piglin.hand.attack": {
      "loop": true,
      "bones": {
        "body": {
          "rotation": [ 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, 3.0) * 180.0) * 68.755 - math.sin(variable.attack_time * 180.0) * -(query.target_x_rotation - 40.107) * 0.75", "math.sin(math.sqrt(variable.attack_time) * 360.0) * 22.9183", "math.sin(variable.attack_time * 180.0) * -22.9183" ]
        }
      }
    },
    "animation.piglin.move": {
      "loop": true,
      "bones": {
        "leftear": {
          "rotation": [ 0.0, 0.0, "variable.tcos0_left_ear * 0.5" ]
        },
        "rightear": {
          "rotation": [ 0.0, 0.0, "-variable.tcos0 * 0.5" ]
        },
        "leftarm": {
          "rotation": [ "variable.tcos0", 0.0, 0.0 ]
        },
        "leftleg": {
          "rotation": [ "-variable.tcos0 * 1.4", 0.0, 0.0 ]
        },
        "rightarm": {
          "rotation": [ "-variable.tcos0", 0.0, 0.0 ]
        },
        "rightleg": {
          "rotation": [ "variable.tcos0 * 1.4", 0.0, 0.0 ]
        }
      }
    },
    "animation.piglin.sword.attack": {
      "loop": true,
      "bones": {
        "body": {
          "rotation": [ 0.0, "q.is_item_equipped('main_hand') ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360.0) * 11.46", 0.0 ]
        },
        "rightarm": {
          "rotation": [ "q.is_item_equipped('main_hand') ? 108 * ((variable.is_brandishing_spear * -0.5) - 1.0) - 1.15 * (-(math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.5) + (math.sin(query.life_time * 76.776372) * 2.865) - this : -(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)", "q.is_item_equipped('main_hand') ? 0.0 : (math.sin(math.sqrt(variable.attack_time) * 360) * 11.46) * 2.0", "q.is_item_equipped('main_hand') ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360) * 11.46" ]
        },
        "leftarm": {
          "rotation": [ "q.is_item_equipped('main_hand') ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360) * 11.46", 0.0, 0.0 ]
        }
      }
    }
  }
}
