Minecraft:Mob fleeing: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 34: | Line 34: | ||
|{{EntityLink|Cod}}<br>{{EntityLink|Pufferfish}}<br>{{EntityLink|Salmon}}<br>{{EntityLink|Tropical Fish}} | |{{EntityLink|Cod}}<br>{{EntityLink|Pufferfish}}<br>{{EntityLink|Salmon}}<br>{{EntityLink|Tropical Fish}} | ||
|{{EntityLink|Player}} | |{{EntityLink|Player}} | ||
| | |– | ||
|- | |- | ||
|{{EntityLink|Creeper}} | |{{EntityLink|Creeper}} | ||
|{{EntityLink|Cat}}<br>{{EntityLink|Ocelot}} | |{{EntityLink|Cat}}<br>{{EntityLink|Ocelot}} | ||
| | |– | ||
|- | |- | ||
|{{EntityLink|Dolphin}} | |{{EntityLink|Dolphin}} | ||
|{{EntityLink|Elder Guardian}}<br>{{EntityLink|Guardian}} | |{{EntityLink|Elder Guardian}}<br>{{EntityLink|Guardian}} | ||
| | |– | ||
|- | |- | ||
|{{EntityLink|Evoker}} | |{{EntityLink|Evoker}} | ||
|{{EntityLink|Player}}<br>{{EntityLink|Creaking}} | |{{EntityLink|Player}}<br>{{EntityLink|Creaking}} | ||
| | |– | ||
|- | |- | ||
|{{EntityLink|Fox}} | |{{EntityLink|Fox}} | ||
|{{EntityLink|Player}}<br>{{EntityLink|Polar Bear}}<br>{{EntityLink|Wolf}} | |{{EntityLink|Player}}<br>{{EntityLink|Polar Bear}}<br>{{EntityLink|Wolf}} | ||
|Foxes flee from players that they are not trusting towards. | |Foxes flee from players that they are not [[Minecraft:trusting]] towards. | ||
|- | |- | ||
|{{EntityLink|Hoglin}} | |{{EntityLink|Hoglin}} | ||
| Line 66: | Line 66: | ||
|{{EntityLink|Phantom}} | |{{EntityLink|Phantom}} | ||
|{{EntityLink|Cat}}<br>{{EntityLink|Ocelot}}{{only|bedrock|short=1}} | |{{EntityLink|Cat}}<br>{{EntityLink|Ocelot}}{{only|bedrock|short=1}} | ||
| | |– | ||
|- | |- | ||
|{{EntityLink|Piglin}} | |{{EntityLink|Piglin}} | ||
| Line 87: | Line 87: | ||
|{{EntityLink|Wolf}} | |{{EntityLink|Wolf}} | ||
|{{EntityLink|Llama}}<br>{{EntityLink|Trader Llama}} | |{{EntityLink|Llama}}<br>{{EntityLink|Trader Llama}} | ||
|How easily the wolf is deterred is determined by the | |How easily the wolf is deterred is determined by the (trader) llamas' [[Minecraft:Llama#Data values|strength]]. | ||
|} | |} | ||
Revision as of 11:20, 25 June 2026
In Minecraft:Minecraft, mob fleeing is a mechanic in which Minecraft:mobs will attempt to avoid or flee from sources that they are fearful of.
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
Similar interactions
These are interactions which are not fleeing but do involve a mob being afraid of something.
| Mob | Fear Source | Details |
|---|---|---|
| Template:EntityLink | Template:EntityLink Template:EntityLink |
Armadillos roll up into their shell when near a Minecraft:player who is sprinting or mounted and all Minecraft:undead mobs. |
| Template:EntityLink (Worried) | Template:EnvLink | Worried pandas shake and hide their faces during thunderstorms. |