Mojira Archive
MC-90594

Player can stop sneaking/gliding without space to stand up

The bug

You can stop sneaking even when there isn't space for your head when standing up.

Affected situations

Entities with solid collision box

You can still stop sneaking if there is an entity with solid collision box, like a shulker or boat above you.

/summon armor_stand ~1 ~0.2 ~ {NoGravity:1b,Passengers:[{id:"shulker",NoAI:1b}]}
/summon armor_stand ~1 ~0.2 ~ {NoGravity:1b,Passengers:[{id:"boat"}]}

Player model for blocks

This bug was partwise fixed for blocks by not enlarging the hitbox if there is no space. The problem is that the player model stops sneaking anyways.