05-31-2012, 09:43 PM
Just getting the block array is quite a big deal - each such array is 32^3 blocks copied from the chunks' data, and there could be hundreds of mobs in *each* world. This could actually kill the server performance![Tongue Tongue](https://forum.cuberite.org/images/smilies/tongue.png)
Not to mention ghasts - they have a much longer sight range, afaik, maybe 128 blocks? so 256^3 blocks? Ugh!
And that's only pathfinding, but I was more referring to the AI, choosing what to do next, that's what's bothering me. When does a zombie decide that breaking a door is a better idea than walking around looking for villagers to maul?
![Tongue Tongue](https://forum.cuberite.org/images/smilies/tongue.png)
Not to mention ghasts - they have a much longer sight range, afaik, maybe 128 blocks? so 256^3 blocks? Ugh!
And that's only pathfinding, but I was more referring to the AI, choosing what to do next, that's what's bothering me. When does a zombie decide that breaking a door is a better idea than walking around looking for villagers to maul?