Mineuniverse

Mob infighting

Mob infighting is a mechanic in Minecraft in which certain mobs retaliate against other mobs, as part of their mob AI.

7 min read Updated
Gameplay Combat
Advertisement Remove ads with Premium →
Contents (7)
  1. Overview
  2. Specific mob behavior
  3. Retaliation
  4. Hunting
  5. Trivia
  6. See also
  7. References

Mob infighting is a mechanic in Minecraft in which certain mobs retaliate against other mobs, as part of their mob AI.

Overview

A skeleton and a spider jockey rider fighting each other

If a 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

In Bedrock Edition only:

In Java Edition only:

Retaliates normally, as described above.

In Java Edition 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.‌[JE only][1]
Bee Bees are a pack mob (see above) but they attack back only once.
Hoglin Hoglins are a pack mob (see above) but only adults can alert others, when attacked. Babies cannot.
Zoglin Only adults retaliate. Babies cannot.
Polar Bear Retaliates as a pack mob only when a baby polar bear is attacked.
Wither Retaliates normally, but not against undead mobs.
Breeze‌[BE only] Retaliates normally, but not against trial chambers mobs.
Retaliates only if it is not already chasing the player.

In Java Edition only:

These are all the illager monsters. They retaliate against non-illager monsters. Additionally, evokers sometimes forget their target and focus back on the player. In Java Edition, ravagers are also a pack mob and call other ravagers when attacked.
Llama, Trader Llama 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.
Panda Only aggressive pandas retaliate. All other types try to attack back only once.

In Bedrock Edition only:

In Java Edition only:

Does not retaliate.
Notes
  • Endermen retaliate, but this rarely happens because they are immune to most projectiles unless they are riding a boat or minecart. 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 goat, except for piglins, piglin brutes, hoglins, zoglins, vindicators named "Johnny," and wardens.
  • In Bedrock Edition, mobs do not retaliate to being damaged by 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 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 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 wither in 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.

Predator Prey
Axolotl
Breeze Iron Golem
Iron Golem
Stray Cat
Drowned

In Bedrock Edition only:

Enderman Endermite
Endermite Enderman‌[BE only]

In Java Edition only:

In Bedrock Edition only:

Frog
Wild Fox
Goat Randomly attack mobs (including armor stands‌[JE only] and cameras) that remain stationary for too long.

In Bedrock Edition only:

In Bedrock Edition only:

Iron Golem Every monster except camel husks, creepers, skeleton horses, sulfur cubes, zombie horses and zombie nautiluses.‌[JE only]
Killer Bunny‌[JE only]
Llama Wild Wolf
Magma Cube Iron Golem
Ocelot
Adult Polar Bear Fox
Pufferfish

Defensively attack:

Silverfish

In Bedrock Edition only:

Slime
Snow Golem Every monster except for the ghast and hoglin‌[BE only]
Tamed Wolf Every mob that the owner attacks except for creepers, ghasts and other tamed wolves with the same owner.
Trader Llama

In Java Edition only:

Trusting Fox Any mob that attacks its trusted player except other trusting foxes and ghasts.

Natural enemies in Java Edition only:

Vindicator named "Johnny" Every mob except fellow illagers, ghasts, and agents.

In Bedrock Edition and Minecraft Education only:

Warden Every mob except other wardens.

In Bedrock Edition and Minecraft Education only:

Witch

In Bedrock Edition only:

Only as part of a patrol in Java Edition only:

Wither Every mob except undead mobs, ghasts, and agents.

In Bedrock Edition and Minecraft Education only:

Wither Skeleton
Wild Wolf
Zoglin Every mob except creepers, ghasts, agents and other zoglins.

In Bedrock Edition and Minecraft Education only:

Trivia

  • Mob infighting is referenced in a splash text which reads "Monster infighting!"

See also

References

  1. ↑ MC-227625 – Piglins, piglin brutes and hoglins can still attack goats when attacked
Advertisement Remove ads with Premium →

More in Gameplay

View all 133 →
MaterialsMaterials in Minecraft classify blocks into different types, more or less indicating what the block is "made of".Melee attackMelee attackA melee attack is a type of attack performed during combat that mobs and players use to cause damage through close contact with a target.Mob conversionMob conversionMob conversion is a game mechanic where under specific circumstances certain mobs can convert to mobs of a different type, or to a different variant of…Mob fleeingIn Minecraft, mob fleeing is a mechanic in which mobs will attempt to flee from sources that they are fearful of.Mob spawningMob spawningMob spawning is how passive, neutral, and hostile mobs are created in the world.Mob typeA mob type is a gameplay classification the game uses to group mobs. This classification is applied in several gameplay aspects, including but not limited…MultiplayerMultiplayerMultiplayer is the style of playing Minecraft that involves multiple players interacting on a single world hosted by a player or an external server…NarratorThe narrator‌[JE only] or text to speech‌[BE only] is a text-to-speech engine that automatically reads chat messages and other text elements in the user…
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home