The Knockback enchantment increases the knockback effect inflicted when a player or creature is attacked with a sword. With this Minecraft enchantment, the player or creature will therefore push the hit opponent backwards more than usual.
More information about the knockback enchantment
For each additional level, Knockback adds 3 blocks of distance to the basic knockback. The maximum he can add without commands is 6 blocks. It combines slightly with the knockback caused by a sprinting attack.
You can add the enchantment Knockback to any sword using an enchantment table, anvil, or game command. Then use the enchanted sword in battle and watch your enemies push back when attacked !
The maximum level for the Knockback enchantment is level 2. This means you can enchant a sword with up to Knockback II. The higher the level, the more powerful the enchantment.
To apply the recoil effect to a bow, you must use the Punch enchantment.