mojira.dev
MC-150367

Villagers can claim workstations and beds without a valid path to them

When a villager claims a bed or a workstation, there is no check to see if the villager can actually reach them. This can cause undesired behaviour, such as villagers claiming players' beds or workstations inside a player's enclosed base.

Villagers will pathfind to these points of interest when using them. It's not unreasonable for them to pathfind when claiming them, even if they don't actually walk to them.

The screenshot (desert villagers in a desert superflat world) has three farmer villagers wandering to reach beds they have previously claimed with no path to the beds. They are farmers because they claimed the composters despite having no path to the composters.

Linked issues

Attachments

Comments 4

gaspoweredpick

This glitch already is in process of being fixed at MC-149835 (even though this ticket isn't actually a duplicate)

Dominick Young

absolute game breaking glitch. . . .villagers need to find next unclaimed workstation of the same type (or bed) that they can get to.

Is this still an issue in 1.14.1?

I went back into the same test world. I replaced the villagers with new villagers. The villagers did not claim the workstations or beds until I broke a wall block so they could reach the beds and composters.

bdm68

(Unassigned)

Plausible

(Unassigned)

Minecraft 1.14

Minecraft 1.14.1

Retrieved