There are a lot of posts talking about improving AI, but i want to be a bit more specific. In particular, hostile mobs really need an improvement. Player detection goes from one extreme to the other: either they are so stupid they cannot see you when you are right in front of them, or see you when you are sneaking, behind them, or in other situations where they would not logically be able to see you. Pathfinding leaves a lot to desired, with the mob either walking of a cliff or sitting there in front of a set of rail, wandering how they will take three steps forward. Idling AI, except in villagers, is almost non-existent, with mobs sitting still as the minutes tick by, occasionally moving a couple blocks in a random direction. Here is a list of the various improvements I would make:
- All hostile mobs would implement an improved detection system, with noises generated by the player or another mob drawing it in the direction that the sound came from. Additionally, the mobs sight would be improved, with transparent solid blocks not blocking sight, such as glass.
- Pathfinding around smaller blocks, such as lanterns, fences etc would be improved.
- Different mobs would pathfind in different ways. For example, zombies would be very stupid when it comes to walking off of small cliffs, and pillagers would try to stay behind blocks as much as possible.
- The random destination block when idling would be in a further range.
- Every mob would have an idling behaviour where appropriate.
Please sign in to leave a comment.
0 Comments