Sneaking state is no longer reset when the player dies and respawns
Summary:
When the player dies while sneaking, they don't stop sneaking after respawning. This doesn't match older versions of the game and Java Edition (MC-263293).
Steps to Reproduce:
- Use a touch device or a controller
- Create a new world with cheats enabled
- Switch to Survival mode
- Press the Sneak button
- Type /tp ~ ~50 ~ in the chat
- Respawn
Observed Results:
The player is still sneaking.
Expected Results:
The player should stop sneaking.
Videos:
1.20:
Minecraft Preview 2023-08-29 10-14-22.mp4
1.19.0.30:
Minecraft 2023-08-29 10-00-04.mp4