Minecraft:Mob fleeing: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (12 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 | |||
== Overview == | == 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. | 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 20: | Line 20: | ||
!Details | !Details | ||
|- | |- | ||
|{{EntityLink|Bogged}}<br>{{EntityLink|Parched}}<br>{{EntityLink|Skeleton}}<br>{{EntityLink|Stray}}<br>{{EntityLink|Wither Skeleton}}{{only|JE}} | |{{EntityLink|Bogged}}<br>{{EntityLink|Parched}}<br>{{EntityLink|Skeleton}}<br>{{EntityLink|Stray}}<br>{{EntityLink|Wither Skeleton}}{{only|JE|short=1}} | ||
|{{EntityLink|Wolf}} | |{{EntityLink|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. | |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. | ||
| 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}} | ||
| | |A creeper that has begun detonation will not flee unless the player leaves the blast radius. | ||
|- | |- | ||
|{{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}} | ||
| | |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 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 62: | Line 62: | ||
|{{EntityLink|Worried Panda|Panda}} (Worried) | |{{EntityLink|Worried Panda|Panda}} (Worried) | ||
|{{EntityLink|Player}}<br>Most [[Minecraft:monster]]s{{only|java|short=1}}<br>All non-panda mobs{{only|bedrock|short=1}} | |{{EntityLink|Player}}<br>Most [[Minecraft:monster]]s{{only|java|short=1}}<br>All non-panda mobs{{only|bedrock|short=1}} | ||
|{{IN|je}}, worried pandas flee from most monsters except [[Minecraft:ghast]]s, [[Minecraft:hoglin]]s, [[Minecraft:magma cube]]s, undead mounts ([[Minecraft:skeleton horse]]s, [[Minecraft:zombie horse]]s, [[Minecraft:zombie nautilus]]es, [[Minecraft:camel husk]]s) [[Minecraft:phantom]]s, [[Minecraft:shulker]]s, [[Minecraft:slime]]s, and the [[Minecraft:ender dragon]].<ref>{{bug|MC-304377||Worried Pandas are not scared of certain monsters}}</ref><br>{{IN|be}}, worried pandas flee from all non-panda mobs. | |{{IN|je}}, worried pandas flee from most monsters except [[Minecraft:ghast]]s, [[Minecraft:hoglin]]s, [[Minecraft:magma cube]]s, undead mounts ([[Minecraft:skeleton horse]]s, [[Minecraft:zombie horse]]s, [[Minecraft:zombie nautilus]]es, [[Minecraft:camel husk]]s) [[Minecraft:phantom]]s, [[Minecraft:shulker]]s, [[Minecraft:slime]]s, [[Minecraft:Ocelot|ocelots]], and the [[Minecraft:ender dragon]].<ref>{{bug|MC-304377||Worried Pandas are not scared of certain monsters}}</ref><br>{{IN|be}}, worried pandas flee from all non-panda mobs. | ||
|- | |- | ||
|{{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 76: | Line 76: | ||
|{{EntityLink|Rabbit}} (except Killer Bunny{{only|java|short=1}}) | |{{EntityLink|Rabbit}} (except Killer Bunny{{only|java|short=1}}) | ||
|{{EntityLink|Player}}<br>{{EntityLink|Wolf}}<br>Most [[Minecraft:monster]]s | |{{EntityLink|Player}}<br>{{EntityLink|Wolf}}<br>Most [[Minecraft:monster]]s | ||
|{{IN|je}}, rabbits flee from most monsters except [[Minecraft:ghast]]s, [[Minecraft:hoglin]]s, [[Minecraft:magma cube]]s, undead mounts ([[Minecraft:skeleton horse]]s, [[Minecraft:zombie horse]]s, [[Minecraft:zombie nautilus]]es, [[Minecraft:camel husk]]s), [[Minecraft:phantom]]s, [[Minecraft:shulker]]s, [[Minecraft:slime]]s, and the [[Minecraft:ender dragon]].<ref>{{bug|MC-304535||Rabbits are not scared of certain monsters}}</ref><br>{{IN|be}}, rabbits flee from all monsters except hoglins and the ender dragon. | |{{IN|je}}, rabbits flee from most monsters except [[Minecraft:ghast]]s, [[Minecraft:hoglin]]s, [[Minecraft:magma cube]]s, undead mounts ([[Minecraft:skeleton horse]]s, [[Minecraft:zombie horse]]s, [[Minecraft:zombie nautilus]]es, [[Minecraft:camel husk]]s), [[Minecraft:phantom]]s, [[Minecraft:shulker]]s, [[Minecraft:slime]]s, [[Minecraft:Ocelot|ocelots]], and the [[Minecraft:ender dragon]].<ref>{{bug|MC-304535||Rabbits are not scared of certain monsters}}</ref><br>{{IN|be}}, rabbits flee from all monsters except hoglins and the ender dragon. | ||
|- | |- | ||
|{{EntityLink|Villager}} | |{{EntityLink|Villager}} | ||
|{{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}} | |{{EntityLink|Drowned}}<br>{{EntityLink|Evoker}}<br>{{EntityLink|Frostbite}}{{Upcoming|Fourth Drop 2026}}<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}} | ||
|– | |||
|- | |- | ||
|{{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|Frostbite}}{{Upcoming|Fourth Drop 2026}}<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 | |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]]. | ||
|} | |} | ||
== Similar interactions == | == Similar interactions == | ||
These are interactions which are not fleeing but do involve | These are interactions which are not fleeing but do involve a mob being afraid of something. | ||
{| class="wikitable collapsible" data-description="Fleeing interactions" | {| class="wikitable collapsible" data-description="Fleeing interactions" | ||
Latest revision as of 11:17, 9 October 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. |