Knockback

Knockback is an enchantment to a sword that increases the sword's knockback.
== Usage ==
The knockback multiplies distance of the base knockback. Knockback I will have a 105% increase in or values and knockback II will have a 190% increase in these values, it combines slightly with knockback caused by attacking while sprinting. Players can cause a knockback of up to six blocks without commands. 
When using commands to increase the knockback value beyond two, the limit on the amount of knockback that a player can take is much less than the amount of knockback that any other entity can take. 
In Java Edition, players can hit armor stands back with a knockback enchantment, but not in Bedrock Edition. 
There are two kinds of knockback in which the enchantment works, normal or sprinting. Both kinds have horizontal knockback, which affects only X and Z coordinate values, and vertical knockback, which affects only Y coordinate value. 
By default in Minecraft, if the attacking players are sprinting, they deal more knockback to the damaged ones. This is the reason of PvP movement-related actions like W-tapping (sprint reset). Damaged players start receiving less knockback while they are in the air. 
On a combat situation where two players are moving, the horizontal knockback received is multiplied by 0.6 (reduced by 40%) if the attacker send an attack packet and is moving forward. It does not stack. 
== Resistant mobs ==
* Iron golems are unaffected by knockback from normal attacks, but are affected by knockback from enchantments.
* Squid are resistant to knockback when outside of water.
* Wardens are completely unaffected by knockback.
== Data values ==
=== ID ===
:
:
== History ==
== Issues ==
== See also ==
*Punch, which applies knockback to arrows shot with a bow.
de:Rückstoß
es:Empuje
fr:Enchantement#Recul
ja:ノックバック
pt:Repulsão
th:กระดอน
zh:击退