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 knockback.normal or knockback.sprinting 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 reciving less knockback while they are in the air.

On a combat situation where two players are moving, the horizontal knockback recived is multiplied by 0.6 (reduced by 40%) if the attacker send an attack packet and is moving forward. It does not stack.

ID