Mineuniverse

Mob fleeing

In Minecraft, mob fleeing is a mechanic in which mobs will attempt to flee from sources that they are fearful of.

4 min read Updated 6 views
Gameplay Combat
Advertisement Remove ads with Premium →
Contents (5)
  1. Overview
  2. Fleeing interactions
  3. Similar interactions
  4. See also
  5. References
Not to be confused with Panic.

In Minecraft, mob fleeing is a mechanic in which mobs will attempt to flee from sources that they are fearful of.

Overview

When a mob is in close enough proximity to something that it is fearful of (referred to as a "fear source" in this article), it attempts to move away from that source (usually through moving quickly such as sprinting) until it is a reasonable distance away.

All mobs will check for fear sources in the surrounding area every 5 ticks when there is a line of sight. The radius in which a mob detects a fear source can vary depending on the specific fear source in Java Edition or simply 3×3×3 for every mob in Bedrock Edition.[1] For example: a mob may detect a certain fear source within a radius of 8 blocks, whereas it may detect a different fear source within a larger radius of 15 blocks.

When fleeing, a mob moves to a location 4-15 blocks away from the feared source and then return to its regular behavior.

Usually, fleeing from a fear source becomes a mob’s top priority, meaning it will stop whatever action it was doing in favor of fleeing. As such, fleeing can interrupt mobs from doing many actions such as interacting or attacking. In most cases, the mob will return to what it was previously doing when it is no longer fleeing.

A mob's fear source can be in the form of a block, another mob, or a player.

Fleeing interactions

Mob Fear Source Details
Bogged
Parched
Skeleton
Stray
Wither Skeleton‌[JE only]
Wolf Skeletons, strays, bogged, and parched flee from a wolf until they are attacked, after which they begin retaliating against the wolf. Wither skeletons alternate between fleeing and retaliating against the wolf.
Cat
Ocelot
Player Stray cats and untrusting ocelots avoid being near and flee from players.
Cave Spider
Spider
Armadillo Spiders and cave spiders will only flee from armadillos which are not rolled up in their shell.
Cod
Pufferfish
Salmon
Tropical Fish
Player –
Creeper Cat
Ocelot
A creeper that has begun detonation will not flee unless the player leaves the blast radius.
Dolphin Elder Guardian
Guardian
–
Evoker Player
Creaking
An evoker in the middle of summoning an attack will not flee from the player.
Fox Player
Polar Bear
Wolf
Foxes flee from players that they are not trusting towards. Trusting foxes will not flee or panic when they are currently hostile to a mob or untrusted player that attacked a trusted player.
Hoglin Player
Piglin
Nether Portal
Respawn Anchor
Warped Fungus
Hoglins flee from piglins when outnumbered during a hunt.
Baby hoglins flee when attacked by a player.
Illusioner‌[JE only]
Pillager
Vindicator
Creaking A vindicator that is named "Johnny" alternates between fleeing from the creaking and attempting to attack it.
Panda (Worried) Player
Most monsters‌[JE only]
All non-panda mobs‌[BE only]
In Java Edition, worried pandas flee from most monsters except ghasts, hoglins, magma cubes, undead mounts (skeleton horses, zombie horses, zombie nautiluses, camel husks) phantoms, shulkers, slimes, ocelots, and the ender dragon.[2]
In Bedrock Edition, worried pandas flee from all non-panda mobs.
Phantom Cat
Ocelot‌[BE only]
–
Piglin Hoglin
Wither
Wither Skeleton

Zoglin
Zombified Piglin
Soul Campfire (lit)
Soul Fire
Soul Lantern
Soul Torch

Piglins flee from hoglins when outnumbered during a hunt.
Only baby piglins flee from wither skeletons and withers.
Piglins only flee from lit soul campfires.
Rabbit (except Killer Bunny‌[JE only]) Player
Wolf
Most monsters
In Java Edition, rabbits flee from most monsters except ghasts, hoglins, magma cubes, undead mounts (skeleton horses, zombie horses, zombie nautiluses, camel husks), phantoms, shulkers, slimes, ocelots, and the ender dragon.[3]
In Bedrock Edition, rabbits flee from all monsters except hoglins and the ender dragon.
Villager Drowned
Evoker
Frostbite​[upcoming: Fourth Drop 2026]
Husk
Illusioner‌[JE only]
Pillager
Ravager
Vex
Vindicator
Zoglin
Zombie
Zombie Villager
–
Wandering Trader Drowned
Evoker
Frostbite​[upcoming: Fourth Drop 2026]
Husk
Illusioner‌[JE only]
Pillager
Ravager
Vex
Vindicator
Zoglin
Zombie
Zombie Villager
Zombified Piglin
–
Wolf Llama
Trader Llama
Only wild wolves will flee from llamas and trader llamas. How easily the wolf is deterred is determined by the (trader) llamas' strength.

Similar interactions

These are interactions which are not fleeing but do involve a mob being afraid of something.

Mob Fear Source Details
Armadillo Player
Undead
Armadillos roll up into their shell when near a player who is sprinting or mounted and all undead mobs.
Panda (Worried) Thunderstorm Worried pandas shake and hide their faces during thunderstorms.

See also

References

  1. ↑ MCPE-182041 – behavior.avoid_mob_type not respecting max_dist and max_flee
  2. ↑ MC-304377 – Worried Pandas are not scared of certain monsters
  3. ↑ MC-304535 – Rabbits are not scared of certain monsters
Advertisement Remove ads with Premium →

More in Gameplay

View all 133 →
LyingLyingLying is a position that happens to a player or certain mobs under different circumstances.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 infightingMob infighting is a mechanic in Minecraft in which certain mobs retaliate against other mobs, as part of their mob AI.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…
Advertisement Remove ads with Premium →

Related mods

Fleeing Mobs Fleeing Mobs Mod · 596 downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home