Minecraft:Mob infighting: Difference between revisions
More actions
Sync: new page from Minecraft |
Sync: updated from Minecraft |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
== Specific mob behavior == | == Specific mob behavior == | ||
=== Retaliation === | === Retaliation === | ||
Not all mobs have the same infighting behavior. Below is a list of how each mob reacts to being attacked by another | Not all mobs have the same infighting behavior. Below is a list of how each mob reacts to being attacked by another. | ||
{| class="wikitable hlist" | {| class="wikitable hlist" | ||
| Line 26: | Line 26: | ||
* {{EntityLink|Spider}} | * {{EntityLink|Spider}} | ||
* {{EntityLink|Stray}} | * {{EntityLink|Stray}} | ||
* {{EntityLink|Witch}} | * {{EntityLink|Witch}} | ||
* {{EntityLink|Wither Skeleton}} | * {{EntityLink|Wither Skeleton}} | ||
| Line 60: | Line 59: | ||
* {{EntityLink|Zombie}} | * {{EntityLink|Zombie}} | ||
* {{EntityLink|Zombie Villager}} | * {{EntityLink|Zombie Villager}} | ||
| These are pack mobs. When they retaliate, they call nearby mobs of the same type to help them if those mobs aren't already targeting another mob or player. Mobs that respond to the call set the victim as their permanent target. Additionally, piglins and piglin brutes retaliate in groups if a piglin/piglin brute is attacked by any mob including goats.{{only|java|short=true}}<ref>{{bug|MC-227625||Piglins, piglin brutes and hoglins can still attack goats when attacked}}</ref> | | These are pack mobs. When they retaliate, they call nearby mobs of the same type to help them if those mobs aren't already targeting another mob or player. Mobs that respond to the call set the victim as their permanent target. Additionally, piglins and piglin brutes retaliate in groups if a piglin/piglin brute is attacked by any mob including goats.{{only|java|short=true}}<ref>{{bug|MC-227625||Piglins, piglin brutes and hoglins can still attack goats when attacked}}</ref> | ||
|- | |- | ||
| {{EntityLink|Bee}} | | {{EntityLink|Bee}} | ||
| Line 68: | Line 67: | ||
| Hoglins are a pack mob (see above) but only adults can alert others, when attacked. Babies cannot. | | Hoglins are a pack mob (see above) but only adults can alert others, when attacked. Babies cannot. | ||
|- | |- | ||
|{{EntityLink|Shulker}} | |'''{{IN|java}} only:''' | ||
{{EntityLink|Shulker}} | |||
| In {{JE}}, shulkers are a pack mob (see above) but they can retaliate against each other. | |||
|In | |||
|- | |- | ||
| {{EntityLink|Zoglin}} | | {{EntityLink|Zoglin}} | ||
| Line 85: | Line 83: | ||
| Retaliates normally, but not against [[Minecraft:trial chambers]] mobs. | | Retaliates normally, but not against [[Minecraft:trial chambers]] mobs. | ||
|- | |- | ||
| {{EntityLink|Creeper}} | | | ||
* {{EntityLink|Creeper}} | |||
* {{EntityLink|Warden}} | |||
| Retaliates only if it is not already chasing the player. | | Retaliates only if it is not already chasing the player. | ||
|- | |- | ||
| Line 118: | Line 118: | ||
* {{EntityLink|Ocelot}} | * {{EntityLink|Ocelot}} | ||
* {{EntityLink|Phantom}} | * {{EntityLink|Phantom}} | ||
* {{EntityLink|Pufferfish}} | |||
* {{EntityLink|Slime}} | * {{EntityLink|Slime}} | ||
* {{EntityLink|Snow Golem}} | * {{EntityLink|Snow Golem}} | ||
* {{EntityLink|Sulfur Cube}}{{Upcoming}} | |||
'''{{IN|bedrock}} only:''' | '''{{IN|bedrock}} only:''' | ||
* {{EntityLink|Agent}} | |||
* {{EntityLink|Elder Guardian Ghost}} | |||
* {{EntityLink|Endermite}} | * {{EntityLink|Endermite}} | ||
| Line 131: | Line 135: | ||
;Notes | ;Notes | ||
* [[Minecraft:Endermen]] retaliate, but this rarely happens because they are immune to most projectiles. Endermen become hostile toward iron golems, the ender dragon, withers, zoglins and "Johnny" vindicators if damaged by any one of them. | * [[Minecraft:Endermen]] retaliate, but this rarely happens because they are immune to most projectiles. Endermen become hostile toward iron golems, the ender dragon, withers, zoglins and "Johnny" vindicators if damaged by any one of them. They also become hostile towards spear-wielding mobs like zombies or piglins when accidentally hit by by them with their charge attack. | ||
* Witches don't usually fight one another, but when a battle between two witches begins, it does not end without outside interference, because they continually heal themselves with potions of Healing. | * Witches don't usually fight one another, but when a battle between two witches begins, it does not end without outside interference, because they continually heal themselves with potions of Healing. | ||
* Skeletons and witches can get into an eternal infighting battle. The witch's harming potions heal the skeleton, and the witch also drinks enough healing potions to counter the skeleton's arrows. | * Skeletons and witches can get into an eternal infighting battle. The witch's harming potions heal the skeleton, and the witch also drinks enough healing potions to counter the skeleton's arrows. | ||
* Most mobs do not retaliate to being rammed by a [[Minecraft:goat]], except for [[Minecraft:piglin]]s, [[Minecraft:piglin brute]]s, [[Minecraft:hoglin]]s, [[Minecraft:zoglin]]s, [[Minecraft:vindicator]]s named "Johnny," and [[Minecraft:warden]]s. | * Most mobs do not retaliate to being rammed by a [[Minecraft:goat]], except for [[Minecraft:piglin]]s, [[Minecraft:piglin brute]]s, [[Minecraft:hoglin]]s, [[Minecraft:zoglin]]s, [[Minecraft:vindicator]]s named "Johnny," and [[Minecraft:warden]]s. | ||
* In | * In {{BE}}, mobs do not retaliate to being damaged by [[Minecraft:firework rocket]]s. | ||
* A creeper retaliates against a mob that attacks it, but only if the player is outside the creeper's sight range. If not, the creeper continues pursuing the player. | * A creeper retaliates against a mob that attacks it, but only if the player is outside the creeper's sight range. If not, the creeper continues pursuing the player. | ||
* Breaking gold, opening a chest, or failing to wear gold armor near a [[Minecraft:piglin]] causes the piglin to set the player as its permanent target. This means that a piglin does not infight with other mobs once it becomes angry at the player, even if the player never directly attacks the piglin. | * Breaking gold, opening a chest, or failing to wear gold armor near a [[Minecraft:piglin]] causes the piglin to set the player as its permanent target. This means that a piglin does not infight with other mobs once it becomes angry at the player, even if the player never directly attacks the piglin. | ||
* [[Minecraft: | * The [[Minecraft:warden]] prioritizes attacking players over mobs, meaning if a warden is targeting a player, it doesn't retaliate against other mobs until the player dies. | ||
* The [[Minecraft:wither]] in ''[[Minecraft:Bedrock Edition]]'' can retaliate only against invisible mobs, because it would already attack non-undead mobs instantly. | |||
=== Hunting === | === Hunting === | ||
| Line 165: | Line 170: | ||
* {{EntityLink|Stray}} | * {{EntityLink|Stray}} | ||
| | | | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Iron Golem}} | * {{EntityLink|Iron Golem}} | ||
|- | |- | ||
| Line 176: | Line 181: | ||
| {{EntityLink|Iron Golem}} | | {{EntityLink|Iron Golem}} | ||
|- | |- | ||
| {{EntityLink|Cat}} | | {{EntityLink|Cat|Stray Cat}} | ||
| | | | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Rabbit}} | * {{EntityLink|Rabbit}} | ||
|- | |- | ||
| Line 184: | Line 189: | ||
| | | | ||
* {{EntityLink|Axolotl}} | * {{EntityLink|Axolotl}} | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Iron Golem}} | * {{EntityLink|Iron Golem}} | ||
* {{EntityLink|Villager}} | * {{EntityLink|Villager}} | ||
| Line 225: | Line 230: | ||
* {{EntityLink|Slime|Small Slime}} | * {{EntityLink|Slime|Small Slime}} | ||
|- | |- | ||
| {{EntityLink|Fox}} | | {{EntityLink|Fox|Wild Fox}} | ||
| | | | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Cod}} | * {{EntityLink|Cod}} | ||
* {{EntityLink|Chicken}} | * {{EntityLink|Chicken}} | ||
| Line 245: | Line 250: | ||
* {{EntityLink|Old Zombie Villager}} | * {{EntityLink|Old Zombie Villager}} | ||
| | | | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Iron Golem}} | * {{EntityLink|Iron Golem}} | ||
* {{EntityLink|Villager}} | * {{EntityLink|Villager}} | ||
| Line 255: | Line 260: | ||
|- | |- | ||
| {{EntityLink|Iron Golem}} | | {{EntityLink|Iron Golem}} | ||
| Every [[Minecraft:monster]] except | | Every [[Minecraft:monster]] except [[Minecraft:camel husk]]s, [[Minecraft:creeper]]s, [[Minecraft:skeleton horse]]s, [[Minecraft:sulfur cube]]s{{Upcoming}}, [[Minecraft:zombie horse]]s and [[Minecraft:zombie nautilus]]es{{only|java|short=1}}. | ||
|- | |- | ||
| {{EntityLink|Killer Bunny}}{{only|java|short=1}} | | {{EntityLink|Killer Bunny}}{{only|java|short=1}} | ||
| {{EntityLink|Wolf}} | | | ||
*{{EntityLink|Fox}} | |||
*{{EntityLink|Wolf}} | |||
|- | |- | ||
| {{EntityLink|Llama}} | | {{EntityLink|Llama}} | ||
| {{EntityLink|Wolf}} | | {{EntityLink|Wolf|Wild Wolf}} | ||
|- | |- | ||
| {{EntityLink|Magma Cube}} | | {{EntityLink|Magma Cube}} | ||
| Line 274: | Line 281: | ||
| {{EntityLink|Ocelot}} | | {{EntityLink|Ocelot}} | ||
| | | | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Chicken}} | * {{EntityLink|Chicken}} | ||
|- | |- | ||
| | | | ||
* {{EntityLink|Piglin}} | * {{EntityLink|Piglin|Adult Piglin}} | ||
* {{EntityLink|Piglin Brute}} | * {{EntityLink|Piglin Brute}} | ||
| | | | ||
* {{EntityLink|Wither}} | * {{EntityLink|Wither}} | ||
* {{EntityLink|Wither Skeleton}} | * {{EntityLink|Wither Skeleton}} | ||
* {{EntityLink|Hoglin}} ( | * {{EntityLink|Hoglin}} (occasionally hunted) | ||
* {{EntityLink|Iron Golem}} | * {{EntityLink|Iron Golem}} | ||
* {{EntityLink|Snow Golem}} (immediately if any of those golems attacks a piglin or a piglin brute) | * {{EntityLink|Snow Golem}} (immediately if any of those golems attacks a piglin or a piglin brute) | ||
| Line 296: | Line 303: | ||
* {{EntityLink|Wandering Trader}} | * {{EntityLink|Wandering Trader}} | ||
|- | |- | ||
| {{EntityLink|Polar Bear}} | | {{EntityLink|Polar Bear|Adult Polar Bear}} | ||
| {{EntityLink|Fox}} | | {{EntityLink|Fox}} | ||
|- | |||
| {{EntityLink|Pufferfish}} | |||
| | |||
Defensively attack: | |||
* {{EntityLink|Axolotl}} | |||
* All non-aquatic mobs | |||
|- | |- | ||
| {{EntityLink|Silverfish}} | | {{EntityLink|Silverfish}} | ||
| Line 314: | Line 327: | ||
|- | |- | ||
| {{EntityLink|Tamed Wolf}} | | {{EntityLink|Tamed Wolf}} | ||
| Every mob that the owner attacks except for [[Minecraft:creeper]]s, [[Minecraft:ghast]]s and other [[Minecraft: | | Every mob that the owner attacks except for [[Minecraft:creeper]]s, [[Minecraft:ghast]]s and other tamed [[Minecraft:wolves]] with the same owner. | ||
|- | |- | ||
| {{EntityLink|Trader Llama}} | | {{EntityLink|Trader Llama}} | ||
| | | | ||
* {{EntityLink|Wolf|Wild Wolf}} | |||
* Any mob that attacks its [[Minecraft:wandering trader]] | |||
'''{{IN|java}} only:''' | |||
* {{EntityLink|Drowned}} | * {{EntityLink|Drowned}} | ||
* {{EntityLink|Evoker}} | * {{EntityLink|Evoker}} | ||
| Line 325: | Line 341: | ||
* {{EntityLink|Vex}} | * {{EntityLink|Vex}} | ||
* {{EntityLink|Vindicator}} | * {{EntityLink|Vindicator}} | ||
* {{EntityLink| | * {{EntityLink|Illusioner}} | ||
* {{EntityLink|Zombie}} | * {{EntityLink|Zombie}} | ||
* {{EntityLink|Zombie Villager}} | * {{EntityLink|Zombie Villager}} | ||
|- | |- | ||
| {{EntityLink|Fox|Trusting Fox}} | | {{EntityLink|Fox|Trusting Fox}} | ||
| Any mob that attacks its trusted player except other [[Minecraft:fox|trusting foxes]] and [[Minecraft:ghasts]]. | | Any mob that attacks its trusted player except other [[Minecraft:fox|trusting foxes]] and [[Minecraft:ghasts]]. | ||
'''Natural enemies:''' | '''Natural enemies {{in|java}} only:''' | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Cod}} | * {{EntityLink|Cod}} | ||
* {{EntityLink|Chicken}} | * {{EntityLink|Chicken}} | ||
| Line 375: | Line 387: | ||
| | | | ||
* {{EntityLink|Iron Golem}} | * {{EntityLink|Iron Golem}} | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Piglin}} | * {{EntityLink|Piglin}} | ||
* {{EntityLink|Piglin Brute}} | * {{EntityLink|Piglin Brute}} | ||
|- | |- | ||
|{{EntityLink|Wolf}} | |{{EntityLink|Wolf|Wild Wolf}} | ||
| | | | ||
* {{EntityLink | * {{EntityLink|Baby Turtle}} | ||
* {{EntityLink|Bogged}} | * {{EntityLink|Bogged}} | ||
* {{EntityLink|Fox}} | * {{EntityLink|Fox}} | ||
| Line 396: | Line 408: | ||
|{{EntityLink|Zoglin}} | |{{EntityLink|Zoglin}} | ||
| Every mob except creepers, ghasts, agents and other zoglins. | | Every mob except creepers, ghasts, agents and other zoglins. | ||
* {{EntityLink|Armor Stand}} | |||
'''{{IN|bedrock|education}} only:''' | '''{{IN|bedrock|education}} only:''' | ||
* {{EntityLink|Camera}} | * {{EntityLink|Camera}} | ||
|} | |} | ||
Latest revision as of 11:13, 23 May 2026
Mob infighting is a mechanic in Minecraft in which certain Minecraft:mobs retaliate against other mobs, as part of their Minecraft:mob AI.
Overview
If a Minecraft:mob capable of attacking is directly attacked by a player or another mob, the damaged mob stops attacking its current target and attacks the mob or player that damaged it. This causes the mob that did the damage to retaliate in turn, and the two of them become locked into a duel until one of them dies. This is useful in combat as it distracts two monsters temporarily, kills one of them, and severely weakens the other.
Once a mob has taken damage from a mob or player, that mob or player is set as the mob's permanent target. This means that even if another mob or player attacks an infighting mob, the infighting mob does not stop trying to attack its permanent target. A mob can refuse to infight with another monster if the player or a mob already attacked it, so the player or a mob was already set as the mob's permanent target. That mob does not infight with any other mob until the attacking player or mob dies. If the attacker goes beyond the mob's sight range, this resets the retaliating behavior and the mob either returns to neutral mode or searches for a new target.
Specific mob behavior
Retaliation
Not all mobs have the same infighting behavior. Below is a list of how each mob reacts to being attacked by another.
| Mob | Behavior |
|---|---|
Template:IN only:
Template:IN only: |
Retaliates normally, as described above. |
Template:IN only: |
These are pack mobs. When they retaliate, they call nearby mobs of the same type to help them if those mobs aren't already targeting another mob or player. Mobs that respond to the call set the victim as their permanent target. Additionally, piglins and piglin brutes retaliate in groups if a piglin/piglin brute is attacked by any mob including goats.Template:Only<ref>Template:Bug</ref> |
| Template:EntityLink | Bees are a pack mob (see above) but they attack back only once until they are made angry again. |
| Template:EntityLink | Hoglins are a pack mob (see above) but only adults can alert others, when attacked. Babies cannot. |
| Template:IN only: | In Template:JE, shulkers are a pack mob (see above) but they can retaliate against each other. |
| Template:EntityLink | Adults only retaliate. Babies cannot. |
| Template:EntityLink | Retaliates as a pack mob only when a baby polar bear is attacked. |
| Template:EntityLink | Retaliates normally, but not against undead mobs. |
| Template:EntityLinkTemplate:Only | Retaliates normally, but not against Minecraft:trial chambers mobs. |
| Retaliates only if it is not already chasing the player. | |
|
Template:IN only: |
These are all the Minecraft:illager monsters. They retaliate against non-illager monsters. Additionally, evokers sometimes forget their target and focus back on the player. Template:IN, ravagers are also a pack mob and call other ravagers when attacked. |
| Template:EntityLink, Template:EntityLink | Attacks back only once, although two llamas can alternate spitting at each other until one of them dies or is attacked by a different mob. |
| Template:EntityLink | Aggressive pandas only retaliate. All other types try to attack back only once. |
Template:IN only: Template:IN only: |
Does not retaliate. |
- Notes
- Minecraft:Endermen retaliate, but this rarely happens because they are immune to most projectiles. Endermen become hostile toward iron golems, the ender dragon, withers, zoglins and "Johnny" vindicators if damaged by any one of them. They also become hostile towards spear-wielding mobs like zombies or piglins when accidentally hit by by them with their charge attack.
- Witches don't usually fight one another, but when a battle between two witches begins, it does not end without outside interference, because they continually heal themselves with potions of Healing.
- Skeletons and witches can get into an eternal infighting battle. The witch's harming potions heal the skeleton, and the witch also drinks enough healing potions to counter the skeleton's arrows.
- Most mobs do not retaliate to being rammed by a Minecraft:goat, except for Minecraft:piglins, Minecraft:piglin brutes, Minecraft:hoglins, Minecraft:zoglins, Minecraft:vindicators named "Johnny," and Minecraft:wardens.
- In Template:BE, mobs do not retaliate to being damaged by Minecraft:firework rockets.
- A creeper retaliates against a mob that attacks it, but only if the player is outside the creeper's sight range. If not, the creeper continues pursuing the player.
- Breaking gold, opening a chest, or failing to wear gold armor near a Minecraft:piglin causes the piglin to set the player as its permanent target. This means that a piglin does not infight with other mobs once it becomes angry at the player, even if the player never directly attacks the piglin.
- The Minecraft:warden prioritizes attacking players over mobs, meaning if a warden is targeting a player, it doesn't retaliate against other mobs until the player dies.
- The Minecraft:wither in Minecraft:Bedrock Edition can retaliate only against invisible mobs, because it would already attack non-undead mobs instantly.
Hunting
Some mobs fight others for other reasons than retaliation, such as hunting and fighting natural enemies.
See also
References
Template:Navbox combat Template:Navbox gameplay
Minecraft:es:Pelea entre monstruos Minecraft:ja:報復 Minecraft:pt:Luta de criaturas