Guard Villagers

Guard Villagers

46M Downloads

Guard get stuck in certain situations because of carpets (villagers too tbh tho)

DeMooniC3 opened this issue ยท 1 comments

commented

image

The image above is in a set up, I know, but you can find a situation like this naturally where they actually get stuck, I discovered this while doing a regular survival game, here it is:

Screenshot_2297
Screenshot_2298

Their hitbox is also too tall and they can't fit in a 1x2 gap if they are standing on a carpet (I mean, yeah, it's also the case for vanilla villagers, zombies, etc.) IDK how the guard got there to begin with tho since afaik they spawn at the center of the village lol

image

So I don't know if the issue here is they can't path find properly if there are carpets because they see a carpet as a full block or if it's simply that their hitbox doesn't fit, or both lol

IDK why Mojang made the hitbox for villagers and every single other humanoid mob so much taller than that of players

image

commented

I will see if I can fix this for guards only, but I can't do anything for the other vanilla mobs.