Mojira Archive
MC-267805

Group alert AI of some mobs breaks when their target dies

As per net.minecraft.entity.monster.Entity'mob'.initEntityAI(), a mob's entityCallsForHelp boolean in the net.minecraft.entity.ai.EntityAIHurtByTarget class is always set to true, which means that it will alert other entities within its followRange as soon as it gets attacked. However, if the player dies, this code will not be initialized. Therefore, mobs cannot alerts their fellow mobs.

  • The following mobs are known to be affected:
    Evokers, Pillagers, Vindicators, Illusioners, Ravagers,
    Zombies, Drowned, Husks, Zombie Villagers
    silverfish, endermite, vex

video.mp4

Unresolved

Alex_light

2024-01-08, 11:53 AM

2024-01-16, 08:22 AM

3

0

Community Consensus

Low

Platform

Mob behaviour

1.20.4, 23w51b

-