Sneaking + Hit = Moved Wrongly / No Knockback
If you are sneaking and then get hit, you will be teleported backwards and Moved wrongly will be displayed in the console.
This is critical as it means you can avoid knockback in pvp.
Previously Entity.move had a 1 block buffer in all directions for all Entities. In 1.11, the size of this buffer is set in a field and is higher for horses, endermen, but 0 for players. Setting it to 1 for players removed the issue.
Created Issue:
Sneaking + Hit = Moved Wrongly / No Knockback
If you are sneaking and then get hit, you will be teleported backwards and Moved wrongly will be displayed in the console.
This is critical as it means you can avoid knockback in pvp.Previously Entity.move had a 1 block buffer in all directions for all Entities. In 1.11, the size of this buffer is set in a field and is higher for horses, endermen, but 0 for players. Setting it to 1 for players removed the issue.
is duplicated by
is duplicated by
is duplicated by
Still in 1.12 pre 3
This knockback-cancel caused by sneaking only works when a player is on the ground, by the way.
This is still an issue on 1.16.5. Hitting a player with a knockback 2 sword while the player is shifting on the edge of a block, hitting the player towards air. Attached video is on a spigot server, but this issue also occurs on vanilla LAN server: https://www.youtube.com/watch?v=KU8On7tw9M0