User blog:The Mysteryous user/A post regarding the new Ai

Hello wikians,

I was doing some Ai tests in the alpha build 6 of 0.9.0.

As you may possibly know, on 0.8.1 or lower, the hostile mobs wouldn't pathfind that well. They would simply home in you, and fall in big holes and get trapped/ get burntin lava.

But 0.9.0 changes this.

Zombies

 * Smart (preety good pathfind Ai)
 * Hostile in survival, neutral in creative (meaning they only attack you once provoked).
 * Now they will avoid lava and 3 wide holes in the ground. Yup, you will hardly lure them. They will also prefer taking the long POSSIBLE way then falling in lava/ holes.
 * Sadly, they won't avoid sunlight
 * Hunt villagers...

Skeletons

 * Dumb (weak pathfind)
 * They will follow you in lava or get trapped in holes

Zombie Pigman

 * Dumb (weak pathfind)
 * They will home in you even if 3 wide holes are present
 * They will fall in them
 * Same applies to lava

Creepers

 * Dumb (weak pathfind)
 * Will charge for you directly into lava/ holes

Slimes

 * Simply hope around
 * Seem to be passive once provoked (tested on Creative)

Spiders

 * Kind of smart?
 * They will try to avoid lava,but seem to fail at it (because they are bigger probably)
 * They will always avoid 'big'and wide holes but ONLY if there is a way around them
 * If not, they will simply home into you and fall in them

Villagers

 * (This is gonna be interesting...)
 * They will socialize with players/ villagers
 * Can't open doors
 * Will run (sprint) from the following mobs:
 * Zombies
 * Interesting, if 1 villager and 1 zombie are trapped inside a house, the villager will always run (spring) to the door, but can't open it
 * The only mob to hunt them, (the others will ignore them)
 * Zombie Pigman
 * Skeleton
 * Slime
 * Enderman
 * Spider
 * Creeper