Summary:
When switching to a spectator, the player does not stop sneaking or crawling. According to the Java version, the player must exit the state of crawling and sneaking.
Steps to reproduce:
Sneak or crawl.
Enter Spectator Mode.
Move left and right.
Exit Spectator Mode.
Observed results:
When switching to spectator mode, the player does not exit the crawl and sneak state.
This can be seen from the non-centered head when moving to the right-left and when exiting the spectator mode (especially noticeable for crawling).
Expected results:
The player exits sneaking and crawling when entering spectator mode.
Note:
Also, when crawling in the spectator, the player's head is rendered incorrectly near translucent objects.
Since version 1.20.10.23, the player started sneaking/crawling again in spectator mode when passing under blocks. But if the player comes out from under the blocks, now stops crawling / sneaking.