//This JSON was modified by LateLag (@LateLagMC) and AgentMindStorm (@agentms_). Please do not use this document without permission.
{
  "format_version": "1.10.0",
  "animations": {
    "animation.trident.wield_first_person": {
      "loop": true,
      "bones": {
        "pole": {
          "position": [ "c.item_slot == 'main_hand' ? 6.1 - 8.0 : -22.1 + 8.0", "52.5 - 14.5", "14.0 - 10.5" ],
          "rotation": [ 90.0, 115.0, 90.0 ]
        }
      }
    },
    "animation.trident.wield_first_person_raise": {
      "loop": true,
      "bones": {
        "pole": {
          "position": [ 0.5, "-8.75 + (variable.charge_amount * 2.0 <= 0.25 ? math.lerp(0.0, 10.0, variable.charge_amount * 8.0) : 10.0) + 1.25", "18.5 + math.lerp(0.0, -6.0, math.clamp(variable.charge_amount * 2.0, 0.0, 1.0))" ], 
          "rotation": [ -5.0, 60.0, -10.0 ]
        }
      }
    },
    "animation.trident.wield_first_person_raise_shake": {
      "loop": true,
      "bones": {
        "pole": {
          "position": [ 0.0, "math.lerp(0.0, math.sin((q.life_time) * 1000.0 * 1.5) * 0.08, variable.charge_amount)", "math.lerp(0.0, math.sin((q.life_time) * 1000.0 * 1.5) * 0.08, variable.charge_amount)" ],
          "rotation": [ 0.0, 0.0, 0.0 ]
        }
      }
    },
    "animation.trident.wield_first_person_riptide": {
      "loop": true,
      "override_previous_animation": true,
      "bones": {
        "pole": { //Shifted main hand trident right by 0.05 more than Legacy to fit dual trident riptide without clipping
          "position": [ "c.item_slot == 'main_hand' ? 10.5 - 8.0 : -10.5 + 8.0", "(c.item_slot == 'main_hand' ? 49.6 : 33.6) - 14.5", "24.25 - 10.5" ],
          "rotation": [ -90.0, 0.0, "c.item_slot == 'main_hand' ? 0.0 : 180.0" ]
        }
      }
    },
    "animation.trident.wield_third_person": {
      "loop": true,
      "bones": {
        "pole": {
          "position": [ "c.item_slot == 'main_hand' ? 2.8 : 11.05", "c.item_slot == 'main_hand' ? 3.15 : 11.15", -19.0 ],
          "rotation": [ 90.0, 0.0, "c.item_slot == 'main_hand' ? 30.0 : -30.0" ]
        }
      }
    },
    "animation.trident.wield_third_person_raise": {
      "loop": true,
      "override_previous_animation": true,
      "bones": {
        "pole": {
          "position": [ -11.0, 11.5, 14.0 ],
          "rotation": [ 90.0, 180.0, 30.0 ]
        }
      }
    }
  }
}