The ambient loop continues for about 2 seconds after leaving water before stopping, instead of ending immediately.
underwater ambience can be triggered when only the camera is underwater (e.g., in third-person or with the
/camera
command), even if the player is not submerged.
Steps to Reproduce:
Enter a world with water.
Switch to third-person view or use the /camera command to position the camera underwater.
Listen to the underwater ambience starting even when the player’s head is not submerged.
Move the camera or player out of the water.
Notice the ambience loop continues for about 2 seconds before stopping.
Expected Result:
Underwater ambience should stop immediately when leaving water.
Ambience should only play when the player’s head (not the camera) is underwater.
Actual Result:
The underwater ambience lingers for a few seconds after surfacing.
The ambience also plays if only the camera is underwater.
Here is a video demonstrating the issue