Not completely sure what causes it (some form of a thread overload when clicking??).
Video: https://youtu.be/zE07I7K_SQk
One way to reproduce: (probably the easiest)
Hold your jump and attack buttons down while against a wall.
Environment
Affects computers with at least Windows 10,
Tested with these GPUs: Nvidia GTX 1660 ti, Nvidia RTX 2080 ti or 2x Nvidia GTX 1070ti (in SLI)
Tested with these CPUs: i5-8600k, i5-9600k and i7-8700k
I've also had this jittering when attempting to hit blocks with a sword, while moving, in creative mode.