Liberty's Villagers

Liberty's Villagers

4M Downloads

Fix: Villager pathfinding issues when jumping from bottom slabs.

gitsh01 opened this issue ยท 2 comments

commented

Villagers have issues trying to move from a bottom slab to the top of a block - the pathfinding logic assumes that the villager is on a full block / top slab, and doesn't realize the villager cannot jump 1.5 blocks.

commented

Fixed in 1.0.6.

commented

It's not getFeetY in LandPathNodeMaker. That's correctly recording the y as 0.5 on bottom slabs.
Also if the wall is nothing but 1.5 jumps, the villager goes a different way. The problem seems to be when there's a small gap and they miss the gap and get stuck on the edge between the gap and the wall.