gitsh01 / libertyvillagers

Architectury Minecraft Mod for Villagers
14 stars 4 forks source link

Iron golem lagging for finding POI #123

Open SettingDust opened 10 months ago

SettingDust commented 10 months ago

The iron golem is finding bells. I think the logic needs something like a cache or index

https://spark.lucko.me/AuGQbT8nuu https://spark.lucko.me/hBDXPA13BZ

Routhinator commented 5 months ago

I'm seeing this as well, and it's significant. In a large village with two golems that are far from the bell, this drags an otherwise perfect 20 TPS down to 17-18TPS.

The villagers don't seem to cause the same issue, seems to be exclusively this function from the golems that causes lag.

Screenshot_20240620_061843