Knockback (mechanic)

This article is about the game mechanic. For the enchantment, see Knockback.
An example of a villager taking knockback from a zombie.

Knockback represents the pushback from attacks or natural causes.

Attack knockback

When receiving damage from players, mobs, explosions, and most projectiles, entities are also knocked back. The direction of knockback is determined by the direction of the incoming attack.

Versus grounded entities

Knockback dealt to grounded entities knocks them into the air and away from the attack.

Versus airborne entities

Knockback dealt to airborne entities differs between Java Edition and Bedrock Edition. In Java Edition, knockback against airbone entities only knocks them away from the attack and does not knock them further into the air. In Bedrock Edition, knockback against airborne entities is identical to knockback against grounded entities.

Versus entities in vehicles

Entities inside minecarts or boats, as well as entities that are riding mountable entities like horses and camels, never receive any knockback when attacked.

Versus entities during attack invulnerability time

Knockback dealt to entities during attack invulnerability time, the 0.5 seconds (500ms) of invulnerability received after taking damage, differs between Java Edition and Bedrock Edition. In Java Edition, knockback against invulnerable entities is completely negated, except for when attacking with a sword that has the Knockback enchantment. In Bedrock Edition, knockback against invulnerable entities is identical to knockback against grounded and airborne entities, which results in higher CPS (clicks per second) giving higher knockback.

Knockback sources

Natural damage

Most natural damage sources, damage sources that are received indirectly, cause a stutter in movement but do not deal any horizontal knockback. Natural damage sources that cause a movement stutter include damage from burning, drowning, lightning, falling, suffocation, entity cramming, starvation, and status effects like Poison, Wither, and Instant Damage. Block-inflicted damage from fire, cactus, lava, magma blocks, campfires, and sweet berry bushes also cause the same movement-stuttering knockback.

Other indirect damage sources deal knockback in the traditional manner rather than causing a movement stutter. This includes the breath attack of the ender dragon, the beam attack of guardians and elder guardians, the sonic boom attack of wardens, the roar attack of ravagers, evoker fangs, damage from the Thorns enchantment, and the effect cloud from lingering potions of Harming.

Knockback received from players or mobs using a sword enchanted with Knockback is greater than normal.

Damageless attacks

Attacks that deal 0HP♥ or less fail to deal knockback. The Weakness status effect can cause attacks that deal 0HP♥, causing them to deal no knockback.

Snowballs and eggs

Thrown eggs and snowballs cause knockback to mobs even if they do not deal any damage. In Bedrock Edition, thrown eggs and snowballs also apply knockback to players.

Sprint-knockback attack

Attacking while sprinting causes a sprint-knockback attack to be performed, causing extra knockback and playing a unique sound. Sprint-knockback attacks require an attack cooldown charge of at least 84.8% in Java Edition, and performing a sprint-knockback attack cancels a sprint.

Knockback resistance

Attribute

Knockback resistance reduces knockback by multiplying the velocity value that a mob receives from an attack's knockback. If the velocity the mob would have without any knockback resistance is v, and the mob has a knockback resistance of r%, then the mob's actual velocity is determined by the formula A=v×(1r100). Each piece of netherite armor adds 10% knockback resistance to its wearer, giving 40% knockback resistance with a full set.

Natural knockback resistance

Main article: Mob

Certain mobs have natural knockback resistance that causes them to resist knockback from attacks. Iron golems, shulkers, agents, NPCs, wardens, and ender dragons have 100% knockback resistance, while other mobs have varying levels of knockback resistance.

Mob Knockback resistance
Agent 100% (are invulnerable)
Drowned 0%–5% (determined on spawn)
Hoglin 60%
Husk 0%–5% (determined on spawn)
Glow Squid 85%
Iron Golem 100%
NPC 100% (are invulnerable)
Polar Bear 60%
Ravager 70%‌
50%‌
Squid 85%
Shulker 100%
Warden 100%
Zoglin 60%
Zombie 0%–5% (determined on spawn)
Zombie Villager 0%–5% (determined on spawn)
Zombified Piglin 0%–5% (determined on spawn)

Sounds

Java Edition:

Sounds
SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
​Knockback attackPlayersWhen a player deals a sprint-knockback attackentity.player.attack.knockbacksubtitles.entity.player.attack.knockback0.71.016

History

Java Edition Classic
0.24_SURVIVAL_TESTAdded the knockback mechanic.
Mobs and the player now take knockback when damage is taken.
Java Edition Beta
July 26, 2011Notch first teased how sprint-knockback attacks would work.
1.8Pre-releaseThe Adventure Update extended the combat system with sprint-knockback attacks.
Java Edition
1.3.112w25aRemoved the downward knockback while drowning.
1.915w36aFishing bobbers no longer inflict knockback when attaching to an entity.
15w46aIron golems now resist 100% of knockback.
15w47bAdded sounds for sprint-knockback attacks.
15w49aEntities that are airborne no longer take vertical knockback when attacked, now only taking horizontal knockback.
1.14.3pre3Mobs take knockback when damaged by splash and lingering water bottles, which is applied away from the bottle's owner.
1.1620w06aThe knockback resistance attribute now decreases the knockback taken from attacks, in addition to its existing effect of giving a random chance to ignore all knockback.
1.18.222w03aThe knockback resistance attribute no longer gives a random chance to ignore all knockback.
Java Edition Combat Tests
5Entities that are airborne now take vertical knockback when attacked, rather than only taking horizontal knockback.
Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU1CU11.001.001.00Patch 11.0.1Added the knockback mechanic.
TU141.04Removed the downward knockback while drowning.
TU46CU361.381.381.38Patch 15Iron golems now resist 100% of knockback.
Entities that are airborne no longer take vertical knockback when attacked, now only taking horizontal knockback.
TU53CU431.491.501.49Patch 231.0.3Fishing bobbers no longer inflict knockback when attaching to an entity.
TU57CU491.571.561.56Patch 271.0.7Fishing bobbers once again inflict knockback when attaching to an entity.

Issues

Issues relating to "Knockback" are maintained on the bug tracker. Issues should be reported and viewed there.

Navigation