When I press the sneak button, player crouches with some delay.
Linked issues
is duplicated by 8
Attachments
Comments 18
Can confirm. This is easily noticed while spamming the sneak button. It just doesn't have the same effect anymore.
I just found out what the technical reason is for this. The client does not update its own metadata when the player starts/stops sneaking. The metadata has to be updated by the server. Only after the metadata has been updated, the client displays the animation (and activates part of the functionality). The delay is caused by network delay and due to the server updating the metadata not until the next tick.
I guess the responsible developer will probably be aware of this, but I wanted to mention it anyway. Maybe it helps 🙂
FYI: I noticed this, because I wasn't updating the clients own metadata on my custom server software at all. This worked fine in versions prior to 19w14a (or at least in 1.13.2), but in 19w14b sneaking wasn't working at all. After removing the check for not updating the clients own metadata, the issue vanished (though sneaking is obviously still delayed).
Did some testing and there is a reproducible 0.2 second (4 tick) delay between the player pressing the crouch button and the character sneaking