Be in survival inside walls: Monsters will follow your movement and 'hug the walls'. You can see it better with a house made of glass.
Not sure if it's a bug, I hope it's not because it makes the game more challenging
Linked issues
is duplicated by 3
Comments 6
Having this bug fixed bug MC-3626, but now that you fixed this bug, 3626 is probably going to be back.
@ @unknown:
That's because it's a bug with LOS (line of sight). This bug causes mobs not to use LOS at all. So yes, that bug will return, but it was never really fixed. This bug just caused it to no longer be expressed.
After looking into the decompiled code, it looks very much like a bug.
Using MCP names, EntityAINearestAttackableTarget (uh in 15w36d) has a parameter to determine whether the mob should require line-of-sight to start tracking a target. This flag is checked by EntityAITarget.isSuitableTarget().
The AI rearrangement in 15w36a moved most of the checking for "find visible entities" into a separate function more along the lines of "find nearest visible player", and it split the logic to run different code when the AI routine is looking for players versus other mobs. In the target-player code path it lost the bit that calls EntityAITarget.isSuitableTarget(), hence it never checks for line-of-sight anymore when targeting players.
In the other code path, BTW, it looks like it lost the bit that checks for invisibility (and sneaking, although I don't think mobs ever sneak). So when a mob is looking for another mob to target, it'll find invisible mobs as if they weren't invisible.