mojira.dev
MC-157183

Player sneaking animation is not showing when clipping through a block

The bug

When the player is at the same block/position as a closed door or trapdoor, and the player is inside of that door (clipping through it), upon sneaking / crouching, the sneak animation does not show up at all, even though the player is sneaking (the player's speed decreases, and becomes the same as the sneaking speed, therefore the player is sneaking).

To reproduce

  1. Place a door

  2. Open the door

  3. Go stand at the position of that door, so when the door closes, you end up clipping through that door.

  4. Close the door.

  5. Attempt to sneak.

  6. Move while sneaking.

Linked issues

Attachments

Comments 14

still in 1.15 pre 6

Still in 20w08a

in 20w18a

in 1.16RC1

Mateus Pereira Milbradt

Affects 1.16.3

4 more comments

Can confirm in 1.18.1.

in 1.19.3 is also happening

This bug has been in the game for a very long time, according to my tests, and I have personally used it for PVP, partcore, and escape rooms. Because of its age and uses, I do not think Mojang will take action. But who knows?🙂

This issue is a bit broader that what is mentioned in the report. This does not only affect entering sneaking, but changing between all heights. Whatever height you were at before being clipped inside of the block is what you will be stuck in. For example, if you crawl under a trapdoor, then move against the block that the trapdoor is attached to and close the trapdoor again, you will be stuck in crawl mode. See the attached screenshot.

Furthermore, from my testing, this does not only affect the animation, but behavior as well. By following the steps to reproduce the bug in from the report, I still moved at walking speed. Additionally, this affects the player's hitbox - when attempting to sneak in a door, the player's hitbox does not change; when closing a trapdoor on the player in crawl mode, the hitbox of the player is still in crawl mode. The only effect of sneaking that I experienced when in a door was not falling off the edge of blocks.

Also, can confirm in 1.20.3 Pre-Release 2.

can confirm in 1.20.4

DLDave

(Unassigned)

Confirmed

Gameplay

Low

Player

1.14.4, 1.15 Pre-release 6, 1.15.2, 20w08a, 20w16a, ..., 1.18.1, 1.19.3, 1.20.2, 1.21, 1.21.4

Retrieved