{
"title": "Knockback",
"rows": [
{
"field": "II",
"label": "Maximum level"
},
{
"field": "<span class=\"sprite-file\" style=\"\">(link to File:ItemSprite sword.png article, displayed as 16x16px|link=Sword|alt=|class=pixel-image|)</span><br/><span class=\"sprite-file\" style=\"\">(link to File:ItemSprite spear.png article, displayed as 16x16px|link=Spear|alt=|class=pixel-image|)</span>",
"label": "<span class=\"explain \" title=\"Items that can receive the enchantment from an enchanting table.\">Primary items</span>"
},
{
"field": "<span class=\"sprite-file\" style=\"\">(link to File:ItemSprite axe.png article, displayed as 16x16px|link=Axe|alt=|class=pixel-image|)</span><sup class=\" nowrap Inline-Template \" title=\"\">[<i><span title=\"This statement applies only to upcoming versions of Minecraft.\">upcoming</span> (link to Java Edition Combat Tests article, displayed as JE Combat Tests)</i>]</sup>",
"label": "<span class=\"explain \" title=\"Items that cannot receive the enchantment from an enchanting table but can receive it from an enchanted book on an anvil.\">Secondary items</span>"
},
{
"field": "5",
"label": "<span class=\"explain \" title=\"Relative chance of the enchantment being offered.\">Enchantment weight</span>"
}
],
"invimages": [],
"images": []
}
Knockback increases horizontal melee knockback by 2.586 blocks per level. The base knockback of attacks without the enchantment and without doing a sprint-knockback attack is 1.552 blocks, causing an attack with Knockback II to deal 6.724 blocks of knockback.[more information needed] Knockback also increases vertical melee knockback from 0.8125 blocks to 1 block, regardless of the level of enchantment. Sword sweep attacks are affected by the Knockback enchantment. The increased knockback from this enchantment stacks with sprint-knockback attacks.
If an attack from a Knockback weapon is blocked by a shield, the knockback effect doesn't apply in Java Edition but does in Bedrock Edition. By use of commands to increase the level of enchantment beyond II, the enchantment has diminishing returns when attacking players but not when attacking mobs. In Java Edition, players can hit armor stands back with the Knockback enchantment, but not in Bedrock Edition. Damage immunity provides immunity to the Knockback enchantment.
If Knockback is applied to a trident by use of commands or an anvil in Creative, the enchantment functions when using the weapon's melee attack but not when using its ranged attack.