This happens when the eye is less than about 0.05 blocks above the surface. At that height the center of the camera's near plane is above the surface, but its bottom edge is still inside the block. This is a regression introduced in 26.4 snapshot 8, it’s likely caused by the fix for MC-312944, and it brings back MC-3615 for lava and powder snow.
Steps to reproduce:
Create a superflat world in creative mode and set your FOV to 70.
Run
/attribute @s minecraft:gravity base set 0Run
/fill 10 -60 10 20 -58 20 powder_snowRun
/tp @s 15.5 -58.60 15.5 0 0Notice that there is no powder snow fog, and the bottom of the screen shows the inside of the blocks.
For lava, run
/effect give @s fire_resistance infinite 0 true,/fill 10 -60 10 20 -58 20 lavaand/tp @s 15.5 -58.711 15.5 0 0. The lava fog does not render, and you can see through the lava to the ground below.
A few notes: This relates to MC-206842 and MC-3615, regarding the lava bug: this is different from MC-206842, which is a pre existing edge case at one specific camera angle that happens even with the five point check. Here the check itself was removed in snapshot 8, so it happens at pitch 0 and also affects powder snow.
Thank you for helping us improve Minecraft! We saved your files: