//This JSON was modified by AgentMindStorm (@agentms_). Please do not use this document without permission.
{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:piglin_brute",
      "scripts": {
        "pre_animation": [
          "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;",
          "variable.attack = Math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3;",
          "variable.attack2 = Math.sin(variable.attack_time * 180.0) * 57.3;",
          "variable.z_bob = Math.cos(query.life_time * 103.13244) * 2.865 + 2.865;",
          "variable.x_bob = Math.sin(query.life_time * 76.776372) * 2.865;"
        ],
        "animate": [
          { "humanoid_big_head": "query.is_baby" },
          "move",
          "bob",
          "look_at_target_controller",
          "piglin_attack_controller",
          "riding_controller",
          "item_pose"
        ]
      },
      "animations": {
        "move": "animation.piglin.move",
        "bob": "animation.humanoid.bob",
        "humanoid_big_head": "animation.humanoid.big_head",
        "look_at_target_controller": "controller.animation.humanoid.look_at_target",
        "look_at_target_default": "animation.humanoid.look_at_target.default",
        "look_at_target_gliding": "animation.humanoid.look_at_target.gliding",
        "look_at_target_swimming": "animation.humanoid.look_at_target.swimming",
        "piglin_attack_controller": "controller.animation.piglin.attack",
        "crossbow_hold": "animation.piglin.crossbow.hold",
        "crossbow_charge": "animation.piglin.crossbow.charge",
        "melee_attack": "animation.piglin.sword.attack",
        "hand_attack": "animation.piglin.hand.attack",
        "riding_controller": "controller.animation.humanoid.riding",
        "riding.arms": "animation.humanoid.riding.arms",
        "riding.legs": "animation.humanoid.riding.legs",
        "item_pose": "controller.animation.item_pose",
        "invisible.left": "animation.item_pose.invisible.left",
        "invisible.right": "animation.item_pose.invisible.right",
        "flat.left": "animation.item_pose.flat.left",
        "flat.right": "animation.item_pose.flat.right",
        "perpendicular.left": "animation.item_pose.perpendicular.left",
        "perpendicular.right": "animation.item_pose.perpendicular.right",
        "banner.left": "animation.item_pose.banner.left",
        "banner.right": "animation.item_pose.banner.right",
        "fishing_rod.left": "animation.item_pose.fishing_rod.left",
        "fishing_rod.right": "animation.item_pose.fishing_rod.right",
        "goat_horn.right": "animation.item_pose.goat_horn.right",
        "pointed_dripstone.left": "animation.item_pose.pointed_dripstone.left",
        "pointed_dripstone.right": "animation.item_pose.pointed_dripstone.right",
        "brush.left": "animation.item_pose.brush.left",
        "brush.right": "animation.item_pose.brush.right",
        "totem_of_undying.left": "animation.item_pose.totem_of_undying.left",
        "trident.arm": "animation.item_pose.trident.arm",
        "trident.item": "animation.item_pose.trident.item"
      }
    }
  }
}
