Minecraft:Mob fleeing: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| Line 50: | Line 50: | ||
|{{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 [[Minecraft:trusting]] towards. | |Foxes flee from players that they are not [[Minecraft:trusting]] towards. [[Minecraft:Trusting]] foxes will not flee or panic when they're currently hostile to mob/untrusted player that attack their trusted player. | ||
|- | |- | ||
|{{EntityLink|Hoglin}} | |{{EntityLink|Hoglin}} | ||
| Line 88: | Line 88: | ||
|{{EntityLink|Wolf}} | |{{EntityLink|Wolf}} | ||
|{{EntityLink|Llama}}<br>{{EntityLink|Trader Llama}} | |{{EntityLink|Llama}}<br>{{EntityLink|Trader Llama}} | ||
| | |Tamed wolf doesn't get scared to llama or trader llama and even will attack them if itself being attacked, its owner attack them or its owner being attacked by them. | ||
|} | |} | ||
Revision as of 11:15, 4 August 2026
Template:Wip Template:Distinguish In Minecraft:Minecraft, mob fleeing is a mechanic in which Minecraft:mobs will attempt to 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. |