Minecraft:Mob fleeing: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{distinguish|Panic}} | |||
{{wip}} | {{wip}} | ||
In ''[[Minecraft:Minecraft]]'', '''mob fleeing''' is a mechanic in which [[Minecraft:mob]]s will attempt to flee from sources that they are fearful of. | In ''[[Minecraft:Minecraft]]'', '''mob fleeing''' is a mechanic in which [[Minecraft:mob]]s will attempt to flee from sources that they are fearful of. | ||
| Line 6: | Line 6: | ||
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. | 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:tick]]s 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}} or simply 3×3×3 for every mob {{in|Bedrock}}.<ref>{{Bug|MCPE-182041| | All mobs will check for fear sources in the surrounding area every 5 [[Minecraft:tick]]s 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}} or simply 3×3×3 for every mob {{in|Bedrock}}.<ref>{{Bug|MCPE-182041||behavior.avoid_mob_type not respecting max_dist and max_flee}}</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. | When fleeing, a mob moves to a location 4-15 blocks away from the feared source and then return to its regular behavior. | ||
| Line 38: | Line 38: | ||
|{{EntityLink|Creeper}} | |{{EntityLink|Creeper}} | ||
|{{EntityLink|Cat}}<br>{{EntityLink|Ocelot}} | |{{EntityLink|Cat}}<br>{{EntityLink|Ocelot}} | ||
| | |A creeper that has begun detonation will not flee unless the player leaves the blast radius. | ||
|- | |- | ||
|{{EntityLink|Dolphin}} | |{{EntityLink|Dolphin}} | ||
| Line 46: | Line 46: | ||
|{{EntityLink|Evoker}} | |{{EntityLink|Evoker}} | ||
|{{EntityLink|Player}}<br>{{EntityLink|Creaking}} | |{{EntityLink|Player}}<br>{{EntityLink|Creaking}} | ||
| | |An evoker in the middle of summoning an attack will not flee from the player. | ||
|- | |- | ||
|{{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 are currently hostile to a mob or untrusted player that attacked a trusted player. | ||
|- | |- | ||
|{{EntityLink|Hoglin}} | |{{EntityLink|Hoglin}} | ||
| Line 83: | Line 83: | ||
|- | |- | ||
|{{EntityLink|Wandering Trader}} | |{{EntityLink|Wandering Trader}} | ||
|{{EntityLink|Drowned}}<br>{{EntityLink|Evoker}}<br>{{EntityLink|Husk}}<br>{{EntityLink|Illusioner}}{{only|java|short=1}}<br>{{EntityLink|Pillager}}<br>{{EntityLink|Ravager}}<br>{{EntityLink|Vex}}<br>{{EntityLink|Vindicator}}<br>{{EntityLink|Zoglin}}<br>{{EntityLink|Zombie}}<br>{{EntityLink|Zombie Villager}}<br>{{EntityLink|Zombified Piglin | |{{EntityLink|Drowned}}<br>{{EntityLink|Evoker}}<br>{{EntityLink|Husk}}<br>{{EntityLink|Illusioner}}{{only|java|short=1}}<br>{{EntityLink|Pillager}}<br>{{EntityLink|Ravager}}<br>{{EntityLink|Vex}}<br>{{EntityLink|Vindicator}}<br>{{EntityLink|Zoglin}}<br>{{EntityLink|Zombie}}<br>{{EntityLink|Zombie Villager}}<br>{{EntityLink|Zombified Piglin}} | ||
|– | |– | ||
|- | |- | ||
|{{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 (trader) llamas' [[Minecraft:Llama#Data values|strength]]. | |Only wild wolves will flee from llamas and trader llamas. How easily the wolf is deterred is determined by the (trader) llamas' [[Minecraft:Llama#Data values|strength]]. | ||
|} | |} | ||
Latest revision as of 11:15, 5 September 2026
Template:Distinguish Template:Wip 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. |