AngleWyrm / Colonies

Minecraft mod MineColony Reboot
7 stars 8 forks source link

Citizens standing on chests #96

Closed AngleWyrm closed 11 years ago

AngleWyrm commented 11 years ago

Pathing to a building chest often results in citizens attempting to crowd on top of a chest.

AngleWyrm commented 11 years ago

AI pathing routines should test for destination.getDistance() < 3m or similar, and if so, then set destination to null and call citizen.stopNavigating()

might add a specialized interface for destination.getDistance(EntityLiving), so that such lines of code are easier to read.

AngleWyrm commented 11 years ago

One or more of the AI modules still paths to TownHall and appears to get stuck pushing people onto the chests. More research necessary. I suspect it's the EntityAIJoinTown module.