The bug
When gliding with an elytra into cobwebs, the behavior is different per game mode.
Steps to reproduce
/fill -10 -10 100 10 10 100 minecraft:cobweb
Equip an elytra
/setblock 0 39 1 stone
/tp @s 0 40 2.29 0 34.9
/gamemode survival
Double press space to start gliding, and see if you could go through the cobweb.
/tp @s 0 40 2.29 0 34.9 again
Double press space to start gliding, then F3+F4 to switch to creative mode in the air, and see if you could go through the cobweb.
Expected result
The behavior would be the same between game modes.
Actual result
In creative mode the player glides through the cobwebs (but still get a slow-down)
In survival mode the player is stopped at the start of the cobwebs
Cause
"<player> moved wrongly" is outputted to the log for survival mode, indicating the game believes the cobwebs should not be able to let the player through at all.
Attachments
Comments 11
It doesn't always occurs when player's velocity>1.6m/tick (similar to MC-92875)
I found a more detailed method to reproduce this:
Steps to reproduce
Create a superflat world. then:
/fill -10 -10 100 10 10 100 minecraft:cobweb
Equip an elytra
/setblock 0 39 1 stone
/tp @s 0 40 2.29 0 34.9
/gamemode survival
Double press space to start gliding, and see if you could go through the cobweb.
/tp @s 0 40 2.29 0 34.9 again
Double press space to start gliding, then F3+F4 to switch to creative mode in the air, and see if you could go through the cobweb.
Expected result
The behavior would be the same between game modes.
Actual result
In creative mode the player glides through the cobweb.
In survival mode the player is stopped at the start of the cobweb.
Mention:
Use the same coordinates, but change the Pitch Angle from 34.9° to 36.01° will let players glide through the cobweb even in survival mode. Change the Pitch Angle from 34.9° to 34° will prevent players from gliding through the cobweb even in creative mode. So this issue doesn't always happen, only happens in some specific situations.
Screenshot of a wall of web i used to test this.
Flying in survival stops you from getting through the block.
Where creative lets you pass thru part of the block depending on speed.