Villagers cause massive tps lag when trying to pathfind. They bob up and down in a 1.5 high hole and every time they do so, this causes a massive lag spike indicating their pathfinding efforts (from the profiler).
Capping them with top slabs resolves the issue by cancelling their pathfinding.
Single pathfinding routine seems to cost way to much? Villagers in the attached world are close to Y0. Is void air properly treated in the pathing algorithm?
Lagspikes are most prominent during the night - when they try to pathfind to their beds.
Linked issues
Attachments
Comments 21

async-profiler profile: https://www.dropbox.com/s/x242e4fjxc96l2a/tree-pre1-breeder.html?dl=0
async-profiler profile: https://www.dropbox.com/s/x242e4fjxc96l2a/tree-pre1-breeder.html?dl=0
Is this related to Villagers not being able to open doors?
Is this related to Villagers not being able to open doors?
The one you just asked for. I switched to 1.14.2 to make sure, and the issue is indeed still present. 1.14.2 just fixed the chunk caching, so that the game was playable when the villagers aren't loaded.
The one you just asked for. I switched to 1.14.2 to make sure, and the issue is indeed still present. 1.14.2 just fixed the chunk caching, so that the game was playable when the villagers aren't loaded.