The bug
If a player presses "sprint" key when moving in creative mode underwater, it instantly switches to "swimming mode." The player can still toggle flying by double-tapping space, but the swimming controls will override that state. Thus, it is possible to be both swimming and flying at the same time.
Expected behavior would be:
Creative players never swim while in "flying state"
Creative players can swim like survival while not flying
How to reproduce
Move in water when being in creative mode
Press "ctrl" or "sprint" key
"Swimming mode" is toggled on
If the player swims / sinks towards the bottom sometimes gets stuck and cannot move up / stop flying / swim up
The issue can be fixed by looking up (this toggles the "swimming mode" off) or switching into other gamemode.
Note: Spectator mode is not affected (anymore).
Linked issues
is duplicated by 1
relates to 2
Attachments
Comments 9
Im not 100% sure this is related but... If you go into water 1 block deep and start swimming an start to "Sprint" swim you will sink halfway into the block below and thus now be classified as underwater
No, that's a different issue. Please create a report (if it doesn't exist already) and also put screenshots with F3+B active in it.
Confirmed, maybe related to MC-125188