Overview
When a Minecraft: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 Minecraft:sprinting) until it is a reasonable distance away.
All mobs will check for fear sources in the surrounding area every 5 Minecraft: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 Template:In or simply 3×3×3 for every mob Template:In.<ref>Template:Bug</ref> 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 Minecraft:player.
Fleeing interactions
| Mob
|
Fear Source
|
Details
|
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLinkTemplate:Only
|
Template:EntityLink
|
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.
|
Template:EntityLink Template:EntityLink
|
Template:EntityLink
|
Stray cats and untrusting ocelots avoid being near and flee from players.
|
Template:EntityLink Template:EntityLink
|
Template:EntityLink
|
Spiders and cave spiders will only flee from armadillos which are not rolled up in their shell.
|
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink
|
Template:EntityLink
|
Cod, Pufferfish, Salmon, and Tropical Fish will all flee from the player if seen.
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink
|
The Creeper flees from any cat or ocelot they see, thus making it a good way to avoid creepers
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink
|
A dolphin flees from any Guardian or their Elder counterpart is they see one.
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink
|
An Evoker flees from the player or a creaking.
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink Template:EntityLink
|
Foxes flee from players that they are not trusting towards.
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink Template:BlockLink Template:BlockLink Template:BlockLink
|
Hoglins flee from piglins when outnumbered during a hunt. Baby hoglins flee when attacked by a player.
|
Template:EntityLinkTemplate:Only Template:EntityLink Template:EntityLink
|
Template:EntityLink
|
A vindicator that is named "Johnny" alternates between fleeing from the creaking and attempting to attack it.
|
| Template:EntityLink (Worried)
|
Template:EntityLink Most Minecraft:monstersTemplate:Only All non-panda mobsTemplate:Only
|
Template:IN, worried pandas flee from most monsters except Minecraft:ghasts, Minecraft:hoglins, Minecraft:magma cubes, undead mounts (Minecraft:skeleton horses, Minecraft:zombie horses, Minecraft:zombie nautiluses, Minecraft:camel husks) Minecraft:phantoms, Minecraft:shulkers, Minecraft:slimes, and the Minecraft:ender dragon.<ref>Template:Bug</ref> Template:IN, worried pandas flee from all non-panda mobs.
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLinkTemplate:Only
|
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink Template:EntityLink
Template:EntityLink
Template:EntityLink Template:BlockLink (lit) Template:BlockLink Template:BlockLink Template:BlockLink
|
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.
|
| Template:EntityLink (except Killer BunnyTemplate:Only)
|
Template:EntityLink Template:EntityLink Most Minecraft:monsters
|
Template:IN, rabbits flee from most monsters except Minecraft:ghasts, Minecraft:hoglins, Minecraft:magma cubes, undead mounts (Minecraft:skeleton horses, Minecraft:zombie horses, Minecraft:zombie nautiluses, Minecraft:camel husks), Minecraft:phantoms, Minecraft:shulkers, Minecraft:slimes, and the Minecraft:ender dragon.<ref>Template:Bug</ref> Template:IN, rabbits flee from all monsters except hoglins and the ender dragon.
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLinkTemplate:Only Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLinkTemplate:Only Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLink Template:EntityLinkTemplate:Only
|
|
| Template:EntityLink
|
Template:EntityLink Template:EntityLink
|
How easily the wolf is deterred is determined by the llama's/trader llama's strength.
|
Similar interactions
These are interactions which are not fleeing but do involve a mob being afraid of something.
See also
References
Navigation