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

Swimming state does not end when teleporting / jumping out of water

    Details

    • Confirmation Status:
      Confirmed

      Description

      Helper Note

      Please restrict comments to new info that might help to fix this bug. Discussion how this bug can be abused can take place elsewhere.
      And remember: It is a bug. Please don't get too upset when it gets fixed.

      The bug

      Using a teleport command to get out of water while in the swimming animation causes it to be stuck. The player swims on land and is not able to toggle it off.
      This also happens sometimes when you jump out of water.

      How to reproduce

      1. Setup a commandblock with the following command. Add repeaters to it so you have delay after activation
        /tp @p (location outside of the water)
        
      2. Activate the contraption
      3. Get into a pool of water (at least two blocks deep) and press Shift to enter swimming mode

      You are teleported while you're swimming, causing you to continue the swimming animation. Upon re-entering water the swimming animation gets deactivated.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cojomax99 [Mojang] Cory Scheviak
                Reporter:
                Lord_Quadrato [Helper] Lord_Quadrato
              • Votes:
                32 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: