Mineuniverse
Knockback (mechanic)

Knockback (mechanic)

Knockback represents the pushback from attacks or natural causes.

7 min read Updated 6 views
Gameplay Combat
Advertisement Remove ads with Premium →
Contents (21)
  1. Attack knockback
  2. Versus grounded entities
  3. Versus airborne entities
  4. Versus entities in vehicles
  5. Versus entities during attack invulnerability time
  6. Knockback sources
  7. Natural damage
  8. Damageless attacks
  9. Snowballs and eggs
  10. Sprint-knockback attack
  11. Knockback resistance
  12. Attributes
  13. Natural knockback resistance
  14. Sounds
  15. History
  16. Java Edition
  17. Bedrock Edition
  18. Legacy Console Edition
  19. Java Edition Combat Tests
  20. Issues
  21. References
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, is ignored.

Attacking with a sword or spear that has the Knockback enchantment will still deal the enchantment's knockback against invulnerable entities, assuming the damage that entity previously took is surpassed by the damage of the follow-up sword or spear attack.

Knockback sources

Natural damage

Most types of natural damage—i.e. indirect damage—cause the screen tilt characteristic of all damage, and disrupt movement instead of dealing knockback. These include burning, drowning, lightning, falling, suffocation, entity cramming, and starvation; block-inflicted damage from fire, cactus, lava, magma blocks, campfires, and sweet berry bushes; and damage from status effects like Poison, Wither, and Instant Damage.

Indirect damage sources that do deal knockback include 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

Performing a sprint-knockback attack.

Doing a melee attack while sprinting causes a sprint-knockback attack to be performed, inflicting extra knockback and canceling the sprint. In Java Edition, sprint-knockback attacks play a unique sound when performed, and they require an attack cooldown charge of at least 84.8%. Spears are the only item type that cannot do sprint-knockback attacks.

In Java Edition, sprint-knockback attacks cannot be performed at the same time as critical hits or sweep attacks. If a sprint-knockback attack is performed at the same time as a critical hit, the sprint-knockback attack takes priority. They can however be performed at the same time as smash attacks and crushing blows.

The extra inflicted knockback stacks with the Knockback enchantment. Like the Knockback enchantment, sprint-knockback attacks do not increase knockback against entities that are immune to knockback, such as iron golems or shielding players. The only exceptions to this are armor stand and boats, which ordinarily do not take knockback when hit but do when hit by a sprint-knockback attack.

Knockback resistance

Attributes

Main article: Attribute

Knockback resistance

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.

Explosion knockback resistance

This feature is exclusive to Java Edition.

Explosion knockback resistance reduces knockback from explosions and fireworks. It is received through the Blast Protection enchantment, and uses the formula (15 × level)%. The effect stacks with multiple armor pieces, with two pieces of Blast Protection IV armor resulting in 100% explosion knockback resistance. It also reduces the knockback affect of wind charges and the Wind Burst enchantment.

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, creakings, and ender dragons have 100% knockback resistance, while other mobs have varying levels of knockback resistance.

Mob Knockback resistance
Agent 100% (are invulnerable)
Creaking 100% (when looked at, if spawned naturally)
Drowned 0%–5% (determined on spawn)
Ender Dragon 100% (when perching)

100%[BE only]

Frostbite 0%–5% (determined on spawn)
Glow Squid 85%
Hoglin 60%
Husk 0%–5% (determined on spawn)
Iron Golem 100%
Nautilus 30%
NPC 100% (are invulnerable)
Ravager 75%
Shulker 100%
Squid 85%
Warden 100%
Zoglin 60%
Zombie 0%–5% (determined on spawn)
Zombie Nautilus 30%
Zombie Villager 0%–5% (determined on spawn)
Zombified Piglin 0%–5% (determined on spawn)

Sounds

Java Edition:

Sounds
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitchAttenuation
distance
​Knockback attackPlayersWhen a player deals a sprint-knockback attackentity.player.attack.knockbacksubtitles.entity.player.attack.knockback​0.71.016

History

Java Edition

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.8Pre-release Added sprint-knockback attacks.
Java Edition
1.3.112w25a Entities no longer receive downwards knockback from drowning damage.
1.915w34c Sprint-knockback attacks now require an attack cooldown percentage of 84.8% or greater.
Sprint-knockback attacks can no longer be activated simultaniously with critical hits, and instead the sprint-knockback attack takes priority.
15w36a Fishing bobbers no longer inflict knockback when attaching to an entity.
15w46a Iron golems now resist 100% of knockback.
15w47a Sprint knockback attacks now have a vertical knockback value of 0.5 instead of 0.1 (non living entites use the old value of 0.1).
15w47b Added sounds for sprint-knockback attacks.
15w49a Entities that are airborne no longer take vertical knockback when attacked, now only taking horizontal knockback.
Entities that take damage while gliding with elytra no longer take vertical knockback.[1]
1.14.3pre3 Blazes now take knockback when damaged by splash and lingering water bottles.
1.1620w06a 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.222w03a The knockback resistance attribute no longer gives a random chance to ignore all knockback.

Bedrock Edition

Pocket Edition Alpha
v0.2.0 Added the knockback mechanic.
Bedrock Edition
1.2.0beta 1.2.0.11 Added featured servers, some of which opt to fix MCPE-170242.[2]
26.10Preview 26.10.20 Entities that are invulnerable are no longer knocked back when attacked, fixing MCPE-170242.[3]

Legacy Console Edition

Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU1CU11.001.001.00Patch 11.0.1 Added the knockback mechanic.
TU141.04 Removed the downward knockback while drowning.
TU46CU361.381.381.38Patch 15 Iron 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.3 Fishing bobbers no longer inflict knockback when attaching to an entity.
TU57CU491.571.561.56Patch 271.0.7 Fishing bobbers once again inflict knockback when attaching to an entity.

Java Edition Combat Tests

Java Edition Combat Tests
5 Entities that are airborne now take vertical knockback when attacked, rather than only taking horizontal knockback.

Issues

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

References

  1. ↑ MC-90549 – Taking damage while gliding pushes you upwards
  2. ↑ MCPE-170242 – Clicking fast when hitting mobs results in insane knockback – resolved as "Fixed".
  3. ↑ MCPE-170242 – Clicking fast when hitting mobs results in insane knockback – resolved as "Fixed".
Advertisement Remove ads with Premium →

More in Gameplay

View all 133 →
InventoryInventoryThe inventory is the pop-up menu that the player uses to manage items they carry. From this screen a player can equip armor, craft items on a 2×2 grid…Item repairItem repair is a feature that allows players to repair damaged items with durability (tools, armor, and weapons) by combining them in the crafting grid or…JumpingJumpingJumping is a form of movement that elevates the player by approximately 1.25 blocks into the air. Mobs can also jump, as part of their behavior.Key codesThis is a list of key codes used by Minecraft, which are used in the options.txt file.LanguageLanguageVarious languages outside of the system default may be selected in-game using the language menu, accessible in options‌[JE only] or settings.‌[BE only]…LightLightLight (or lighting) is a game mechanic that affects visibility, mob spawning, and the growth of some plants. There are three aspects of Minecraft's…Locator BarThe locator bar is a UI element on the player's HUD which shows the position of other players in multiplayer.LyingLyingLying is a position that happens to a player or certain mobs under different circumstances.

Related mods

Misanthropy's Knockback Modifications Misanthropy's Knockback Modifications Mod · 138.9K downloads Responsive Knockback Responsive Knockback Mod · 82.2K downloads Ninjin Knockback DBC ( By Hedaox ) Ninjin Knockback DBC ( By Hedaox ) Mod · 63.6K downloads Anti Knockback Enchantment Anti Knockback Enchantment Mod · 40.9K downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home