Knockback (mechanic)

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 , and the mob has a knockback resistance of , then the mob's actual velocity is determined by the formula . Each piece of netherite armor adds 10% knockback resistance to its wearer, giving 40% knockback resistance with a full set.
Natural knockback resistance
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 |
|---|---|
| 100% (are invulnerable) | |
| 0%–5% (determined on spawn) | |
| 60% | |
| 0%–5% (determined on spawn) | |
| 85% | |
| 100% | |
| 100% (are invulnerable) | |
| 60% | |
| 70% 50% | |
| 85% | |
| 100% | |
| 100% | |
| 60% | |
| 0%–5% (determined on spawn) | |
| 0%–5% (determined on spawn) | |
| 0%–5% (determined on spawn) |
Sounds
| Sounds | ||||||||
|---|---|---|---|---|---|---|---|---|
| Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
| Knockback attack | Players | When a player deals a sprint-knockback attack | entity | subtitles | 0.7 | 1.0 | 16 | |
History
| Java Edition Classic | |||||||
|---|---|---|---|---|---|---|---|
| 0.24_SURVIVAL_TEST | Added the knockback mechanic. | ||||||
| Mobs and the player now take knockback when damage is taken. | |||||||
| Java Edition Beta | |||||||
| July 26, 2011 | Notch first teased how sprint-knockback attacks would work. | ||||||
| 1.8 | Pre-release | The Adventure Update extended the combat system with sprint-knockback attacks. | |||||
| Java Edition | |||||||
| 1.3.1 | 12w25a | Removed the downward knockback while drowning. | |||||
| 1.9 | 15w36a | Fishing bobbers no longer inflict knockback when attaching to an entity. | |||||
| 15w46a | Iron golems now resist 100% of knockback. | ||||||
| 15w47b | Added sounds for sprint-knockback attacks. | ||||||
| 15w49a | Entities that are airborne no longer take vertical knockback when attacked, now only taking horizontal knockback. | ||||||
| 1.14.3 | pre3 | Mobs take knockback when damaged by splash and lingering water bottles, which is applied away from the bottle's owner. | |||||
| 1.16 | 20w06a | The 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.2 | 22w03a | The knockback resistance attribute no longer gives a random chance to ignore all knockback. | |||||
| Java Edition Combat Tests | |||||||
| 5 | Entities that are airborne now take vertical knockback when attacked, rather than only taking horizontal knockback. | ||||||
| Legacy Console Edition | |||||||
| Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
| TU1 | CU1 | 1.00 | 1.00 | 1.00 | Patch 1 | 1.0.1 | Added the knockback mechanic. |
| TU14 | 1.04 | Removed the downward knockback while drowning. | |||||
| TU46 | CU36 | 1.38 | 1.38 | 1.38 | Patch 15 | Iron golems now resist 100% of knockback. | |
| Entities that are airborne no longer take vertical knockback when attacked, now only taking horizontal knockback. | |||||||
| TU53 | CU43 | 1.49 | 1.50 | 1.49 | Patch 23 | 1.0.3 | Fishing bobbers no longer inflict knockback when attaching to an entity. |
| TU57 | CU49 | 1.57 | 1.56 | 1.56 | Patch 27 | 1.0.7 | Fishing 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.
| General mechanics | |
|---|---|
| Survival |
|
| Combat | |
| Environment |
More |
| Movement | |
| User interface | |
| Visuals | |
| Outdated | |