The Bug
If a block falls on top of you, and it pushes you away, it will not push you completely out of the block when sneaking. This has a small effect on normal gameplay, but a very large effect on multiplayer servers.
Steps to Reproduce
Build the setup as shown in the attachment below. setup.png
Stand on top of the diamond block and begin sneaking.
Break the stone block that's supporting the sand, and once the sand lands on top of you, wait for it to stop attempting to push you out of the way.
Observed Behavior
Blocks that occupy the same space as players don't attempt to push you off edges whilst sneaking.
Expected Behavior
Blocks that occupy the same space as players would push you off edges whilst sneaking.
Related issues
is duplicated by
Attachments
Comments


Could you clarify how this has an impact on multiplayer? As far as I can tell this works as intended.

Based on how Blocks disappear and Reappear in Multiplayer Protected Areas, if you break a block, jump into the slot, and the block Reappears, you will have be able to stay inside that little area and you can reach higher areas by scaling up walls.
This allows for easy exploits on a lot of servers that can't have adventure mode on at the time.
Let me know if you need more info.

Plugin servers aren't supported. ("Protected Areas" are made with plugins)

This happens with regular falling sand too.

You can make a protected area with Spawn Protection, in vanilla minecraft.

@CubeTheThird
I'm not sure, but can it be in more than one place at once? Like 2 Trading Spots 500 blocks apart?
I've played on some servers that have to punish if they see this happen, as they can't really prevent it.

there is no need to comment when you can update the affected versions yourself

@unknown No, the Spawn Protection area is a sphere centred at the world-spawn, but it doesn't matter, because the bug still exists in vanilla.

Confirmed for 1.13.1.

This bug may be related to MC-1133 as it thinks you aren't inside the block but rather "on" air instead. This standing on the edge of a block causing weird effects is likely related to this bug.
Can confirm in 20w48a.
Can confirm in 20w51a.
Can confirm in 21w03a.
Can confirm in 21w05b.
Can confirm in 21w06a. Video attached.
Can confirm in 21w07a.
Can confirm in 21w17a.
Can confirm in 1.17.
Can confirm this behavior in 21w40a. Here are some extra details regarding this problem.
The Bug:
Blocks that occupy the same space as players don't attempt to push you off edges whilst sneaking.
Steps to Reproduce:
Build the setup as shown in the attachment below.
Stand on top of the diamond block and begin sneaking.
Break the stone block that's supporting the sand, and once the sand lands on top of you, wait for it to stop attempting to push you out of the way.
Observed Behavior:
Blocks that occupy the same space as players don't attempt to push you off edges whilst sneaking.
Expected Behavior:
Blocks that occupy the same space as players would push you off edges whilst sneaking.
Can confirm in 1.18.1.
Can confirm in 1.18.2.
Can confirm in 1.19.
Can confirm in 1.19.2.

Can Confirm in 1.20.6 And its lower version