This fix only applied to lava. The overlay fog effect now applies to the camera immediately. However this is not the case for water.
To reproduce
Switch to Creative mode and start flying
Use the following commands
/setblock ~ 64 ~ water
/tp ~ 63.39 ~
Switch into third-person mode
Start looking up and down
→ At some point you will see below the water without any tint
Related issues
is duplicated by
Attachments
Comments


This has happened for a while now

in 20w51a

I can confirm for
1.16.5 and 21w03a

I can confirm for 21w05a and 21w05b

I can confirm for 21w06a

I can confirm for 21w07a

I can confirm for 21w08a

I can confirm for 21w11a

I can confirm for 21w13a

I can confirm for 21w14a

I can confirm for 21w15a

I can confirm for 21w16a

I can confirm for 21w17a

I can confirm for 21w18a

I can confirm for 21w19a

I can confirm for 21w20a

Confirmed for 21w20a.

I can confirm for 1.17 Pre-release 1

I can confirm for 1.17 Pre-release 2

I can confirm for 1.17

MC-230472 was resolved as a duplicate of this issue, so I want to say that this does not only affect height levels, but the water overlay will also not render at the side of flowing water.

that's supposed to happen

This is not supposed to happen, it is a bug. It even has a Mojang Priority.

Can confirm in 1.17.1 Pre-release 2.

Can confirm in 1.17.1 Pre-release 3.

Can confirm in 1.17.1 Release Candidate 1.

Can confirm in 1.17.1 Release Candidate 2.

this has been a thing for years, this is well known and has been used in hundreds of speedruns as well, look through the speedrun.com Minecraft 1.9- 1.15 submissions where they use it to find ocean monuments shipwrecks or so they don't pass by the stronghold when boating, it's not hurting anybody so its not likely to be patched

The fact that a bug is useful is not an argument for keeping it in the game. It was already partially fixed (MC-3615).

Can confirm in 21w41a.

Can confirm in 1.18 Pre-release 1.
Can confirm in 1.18.

Water fog doesn't render when the camera is partially inside water but not totally inside, leading to an X-Ray glitch.
Expected behaviour:
[media]Actual behaviour when partially in water:
[media]
Still happens with lava too in 1.18.2 if your head is just in the surface of flowing lava.
Happens with both positive and negative y.
I've posted a screenshot with some coords and seed to test.
Just break the 2 blocks in 91 -18 -202 and 91 -19 -202, and leave the lava flow... then go inside the flowing lava.
Use creative mode.
[media]
@unknown Lava is tracked in MC-206842.
Can confirm in 1.19.

this can happen in 1.19.3, please add it to affected versions.

thanks

In 23w05a

Affects 1.20.1 Release Candidate 1