Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-267296

Player movement is not disabled during the attack animation of a riptide trident

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.4
    • Confirmed
    • Player Animation

      The player is able to walk or run during the riptide animation. While this doesn't appear too unusual in first-person considering the player cannot see the external animation, it is definitely unusual from the third-person perspective, and gameplay-wise.

      Steps to Reproduce:

      1. Give the player a riptide trident
        /give @p trident{Enchantments:[{id:"minecraft:riptide",lvl:3s}]} 1
        
      2. Set weather to rainy
        /weather rain
        
      3. Change camera to third-person
      4. Throw the trident while walking/running forward or downward
      5. Continue to walk/run during the animation

      Observed & Expected Results:

      - The player is able to continue to walk/run during the length of the attack animation.
      - The player would not be able to walk/run because they are in the middle of an attack animation.

      Screenshots/Videos:

      trident_downward.mp4
      trident_forward.mp4

      Possible Fix(es):

      This could be fixed by either putting the player back into the 'standing' state after they hit the ground when using a riptide trident (similar to how the elytra does the same), or disabling movement entirely until the player is standing upright again.

      Notes:

      1. This issue causes the behavior described in MC-256421 and MC-197480
      2. Relates to MC-131492
      3. Discovered while testing MC-133573

        1. trident_downward.mp4
          4.31 MB
          [Helper] Jiingy
        2. trident_forward.mp4
          6.68 MB
          [Helper] Jiingy

            Unassigned Unassigned
            Jingy [Helper] Jiingy
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: