The Bug:
You can see through blocks using high FOV values and speed.
Steps to Reproduce:
Summon a solid wall of blocks nearby and teleport yourself up against it by using the commands provided below.
/fill ~6 ~ ~6 ~6 ~4 ~-6 minecraft:stone
/tp @s ~5 ~ ~ 0 0
Navigate to your video settings and change your FOV to "Quake Pro".
Give yourself the speed effect by using the command provided below.
/effect give @s minecraft:speed 100 3 true
Look closely at the solid wall you're standing against.
Take note as to whether or not you can see through blocks using high FOV values and speed.
Observed Behavior:
You can see through blocks.
Expected Behavior:
You would not be able to see through blocks.
Linked issues
is duplicated by 15
relates to 3
Attachments
Comments 45
This is actually caused by generic.movement_speed being over a certain value, and is not specific to potion effects nor enchantments (MC-197091); they just modify said attribute.
Using /attribute, you can cause this too.
This can be fixed by clamping the FOV within a certain range, while not clamping the movement speed; Or by modifying how the world gets rendered on a wide screen to fix this (also fixing MC-8684).
I think limiting FOV is a good idea regardless, but asymptotically, not with a hard cutoff point. And MC-8684 shows that also properly fixing the actual rendering issue would be good anyway.
Duplicate of MC-10755.