mojira.dev
MC-132064

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

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.

Related issues

MC-132086 Swimming on land MC-132068 Stuck in swimming animation MC-132070 Swimming into the shore MC-132071 Swimming in flowing water sometimes keeps the swimming mode on out of water MC-132078 Swimming animation bug MC-132082 Stuck in swimming animation MC-132091 1.13-pre 4 when swimming out of the water it doesn't convert over to sprinting/walking MC-132093 character swims outside water MC-132095 When getting out of the water after swimming, player stays in the swimming position even though it is on land and not underwater. MC-132099 Swimming activated even out of the water MC-132100 1.13-pre4 Swimming On Land Glitch MC-132105 Player Swims on Land MC-132108 Swimming animation stays even on dry ground after swimming down a waterfall or running water MC-132111 Swimming on land - can't stand up/walk MC-132112 Players can Swim on land MC-132115 diving error when leaving the water MC-132118 Stuck in Swimming Animation after leaving a bubble Columm flowing downwards MC-132122 Swimming on land, and can't stand up MC-132138 Stuck swimming on land MC-132142 I was swimming on land MC-132154 User swims on the mainland MC-132157 Swiming on sand MC-132164 You can swim on land (1.13 pre4) MC-132167 Swimming on land MC-132168 mojang please fix this MC-132176 Swimming on Land MC-132177 Swimming State Stuck When You Go Onto Land MC-132185 Land swimming MC-132190 Player cannot exit dive mode MC-132203 swimming on land MC-132219 Swimming on land MC-132228 Avitar gets stuck in swimming mode when exiting water MC-132229 Swimming animation sometimes does not stop even if re-surfacing from the water MC-132237 Swimming Permanently MC-132249 You can get out of water whilst swimming and continue swimming on land! MC-132419 Swimming on land MC-132469 Персонаж MC-132595 Stuck in swimming mode out of water

Attachments

Comments

migrated
[media][media]
FaRo1

Does it also happen for you when just swimming out of water, like when you put a water source on flat ground and swim out of the area?

migrated

I've tested this, and from what i can tell, to reproduce this, you need to swim in a 2 block high water space (to start swimming), swim into a one block high area, then climb out of the water. Works every time

migrated

Confirmed in 1.13-pre4.  It also happens when trying to right-click to get into a boat when you're in swim mode.  You enter the boat, but you're still in swim mode.

migrated

I still have this bug. When an iron door closes on my (I stand in the path of the door and then the door closes) it switches me to swimming.

FaRo1

On your what?

lord.quadrato

coschevi

Confirmed

animation, swim, swimming, water

Minecraft 1.13-pre4

Minecraft 1.13-pre5

Retrieved