While gliding into water or lava, player continues gliding
Resolved
Works As Intended
27
The bug
While gliding into a body of water or lava, your player continues to glide instead of swim.
This means you can still use fireworks in order to accelerate and get out of the water or lava. It also means that when you reach the surface of the water, it is impossible to get the player model back in upright position until you touch the surface of a block.
The flight also starts again when leaving the water to the side (waterfall) and sometimes there's weird movement between swimming and gliding when on walls or something like that. So the game partially still tries to glide. Confirmed for 1.9.3-pre1.
Yes, it looks cool, but it's not just an animation, you actually have some elytra movement bits that have thrown me out of waterfalls multiple times. And if this becomes a feature, then more like those player model mods that add animations for fishing, flying in creative, jumping and so on, not just one single thing.
After some more tests, it’s not that the player model does not update; you actually still are gliding (use a firework and you can fly out). And this seems like either intended or an oversight, as the code only checks for a block you stand on in order to land (and you can’t stand on liquids).
Edit: just realized the previous comments, not new info.
When you enter a body of water from an elytra flight, you will stay in some kind of semi-flight mode during swimming. You will be swimming, making swimming motions etc., but also flying. This is made apparent by two things;
-Your elytra wings remain in a spread out position as if you were flying, which would not be the case if you were swimming normally;
-When you reach the surface of the water, you will not be able to return to an upright position, as you would when swimming normally. You will stay horizontal and only unequiping the elytra or touching land will make you go upright.
If you touch land at any point, this semi-flight mode will finally be cancelled and everything returns to normal. But if you're just trying to surface from the water in the middle of an ocean, you will be forced in a horizontal position because there wouldn't be any land to cancel flight on.
One potential alternate solution to this (other than changing the above mentioned code), could be to cancel flight when swimming upwards using the Space key. This would make sense, because that key is used for swimming only, and when trying to swim, you shouldn't be flying anymore.
In my opinion this should be a feature. Gliding while in water with a Riptide 3 trident, is really useful. Without gliding before taking off, it is a lot harder.
Understandably it was marked as intended that the gliding continues when you get into water (so you cabn glide through). However the player model getting stuck in this position is now tracked in MC-162919
That is not what this report is about. And this report was also resolved as WAI, with the new swimming animation being the same as the gliding animation.
Can confirm.