mojira.dev
MC-206090

Players are able to unshift under a spot where they physically cannot

Placing a slab, a trapdoor, and then a block on top will have weird behavior when shifting inside. 

when you're inside you can close the trapdoor (normally without the slab, you would go into "swimming" mode) then you are able to unshift even when the block is over your head.

Instruction for reproducing.

1. place a slab with a trapdoor on top of it

2. open the trapdoor

3. any block on top of the trapdoor

4. shift then get on top of the slab and under the block

5. close the trapdoor then stop holding shift.

 

Expected: You would get pushed out still be shifting or go into "swimming" mode.

Results: Your character stops crouching and you go normal speed.

 

I haven't looked too far into it, but I think it's a problem with the script or code detecting if you can stop crouching. But your point of view doesn't change, it stays at the crouching postion.

Linked issues

Attachments

Comments 4

Please provide some screenshots so that we can understand what your issue is.

Can confirm in 1.17.

Affects 1.20-Pre Release 4

The player model appears to stand up, but this is only a visual error — the hitbox and first-person camera are still crouched as expected. This is tracked in MC-195736. The movement speed issue is MC-165423.

Rowan Lee Hofmann

(Unassigned)

Community Consensus

Player

1.16.4, 20w46a, 1.17, 1.20 Pre-release 4

Retrieved