-
Bug
-
Resolution: Unresolved
-
None
-
1.19.80.21 Preview, 1.18.20.21 Beta, 1.17.30.23 Beta, 1.17.11 Hotfix, 1.17.10, 1.17.10.20 Beta, 1.16.210.59 Beta, 1.16.200.56 Beta, 1.13.2, 1.14.1 Hotfix, 1.11.4, 1.12.0, 1.14.30 Hotfix, 1.14.60 Hotfix, 1.16.0, 1.16.100, 1.16.200, 1.16.201 Hotfix, 1.16.210, 1.16.221 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.40, 1.17.41 Hotfix, 1.18.2 Hotfix, 1.18.12 Hotfix, 1.19.0, 1.19.20, 1.19.60, 1.19.62, 1.19.71, 1.19.72, 1.19.83 Hotfix, 1.20.1 Hotfix, 1.20.12 Hotfix, 1.20.15 Hotfix, 1.20.62 Hotfix, 1.20.81 Hotfix, 1.21.2 Hotfix, 1.21.44 Hotfix
-
Confirmed
-
Multiple
-
318266
Updated description by GoldenHelmet
Steps to reproduce
- Place a bed and workstation.
- Fully enclose the bed and workstation in opaque blocks.
- Spawn a villager.
Expected result
The villager does not link to the bed and workstation.
Actual result
The villager links to the bed and workstation, even though he can neither see them nor pathfind to them.
Original description
Very similar to MC-155238 I have a village behind my house, blocked in by fences/gates, the villagers are detecting my workstations through the walls and also my bed, which is a floor up and involves a spiral staircase made of slabs. Seems the villagers are not using a pathfinding algorythm but are instead just going off raw distance
You can easily work around the specific problem of villagers claiming beds and workstations you don't want them to by placing them where a villager can't detect them.
First, you need to slightly adjust how you think about villagers detecting POI blocks (beds and workstations for our purposes). Without going down the technical rabbit hole, think of it as follows:
- A villager can only discover POI blocks that are within 16 blocks horizontally and 4 blocks vertically of their position.
- When a villager discovers a POI block, it immediately communicates the kind and position of the block to all the other dwellers in its village.
- If a POI block is broken, all the village dwellers instantly know about it and forget the block.
- Any villager can claim any POI blocks that isn't already owned, regardless of which villager discovered it initially.
- The block has to be rediscovered by one of the villagers every few minutes (the exact time is unknown or unpredictable) or it will be forgotten.
Given the above rules, it's easy to see that all you have to do is keep your personal POI blocks at least 16 blocks horizontally and/or 4 blocks vertically away from anywhere a villager might stand. Ways to keep the villagers away might include:
- Placing your blocks on a hill or in a valley where they can't pathfind to (but make sure there are no hills or caves they can get to that could get them in range).
- Building a defensive wall or fence around the village, then subdividing it with another fence or wall to make yourself an enclave. Make sure your blocks are at least 16 blocks from the dividing fence.
- Dig a hole about 7 blocks below the lowest point in the village and build your mini-base in it. Make sure there are no caves around that villagers could get into.
If an accident happens and your POI blocks are discovered, just fix the problem that let the villagers get too close, get them back where they belong, and then break the POI blocks and replace them.
- is duplicated by
-
MCPE-47519 Villager Professions. Not Visual?
- Resolved
-
MCPE-57166 Villager job site issues
- Resolved
-
MCPE-59149 Villager POI Selection/Switching not honoring Valid Path
- Resolved
-
MCPE-60525 Villager detecting workstations through walls
- Resolved
-
MCPE-62186 Villagers broken
- Resolved
-
MCPE-64509 Villager AI problems???
- Resolved
-
MCPE-67760 DUPLICATE!!!!!!!!!!! IDK HOW TO DELETE IN JIRA. THE UI IS SO UNINTUITIVE.
- Resolved
-
MCPE-76397 Villagers are able to change their profession without being in direct contact with workbenches. This has caused many problems because my house is in a village.
- Resolved
-
MCPE-81777 Villagers lock onto player beds that they can't pathfind to and will not sleep in the beds next to their workstations.
- Resolved
-
MCPE-82862 Villagers don't sleep
- Resolved
-
MCPE-87574 Villagers desynchign with beds and toolstations and synching with ones they cannot access
- Resolved
-
MCPE-111051 Villagers pathfinding workstations
- Resolved
-
MCPE-112909 villagers can connect to beds for absurd distances
- Resolved
-
MCPE-117677 Villager take block of profession if it stands above them or behind the wall
- Resolved
-
MCPE-118411 Villagers will claim job site blocks that are otherwise unreachable.
- Resolved
-
MCPE-119196 Villagers detecting workbenches from too far
- Resolved
-
MCPE-122603 Villagers *Big Bug*
- Resolved
-
MCPE-127437 Villager Mechanics and Iron Golems
- Resolved
-
MCPE-129678 Parity issue: Villagers don't reach their workstation before claiming
- Resolved
-
MCPE-133529 Villagers will claim a workbench that they can't pathfind to, including changing the specific work bench every time you relog, resulting in the majority of the villagers in a trading hall unable to refill their trades.
- Resolved
-
MCPE-137665 Villagers can link to work stations though blocks
- Resolved
-
MCPE-139121 Villagers will randomly choose a job block they cant pathfind to,
- Resolved
-
MCPE-140283 Villager path finding problems
- Resolved
-
MCPE-143501 The Villagers sees through the walls
- Resolved
-
MCPE-145436 Villager professions are broken and will path find professions through blocks, glass and closed fence gates
- Resolved
-
MCPE-148680 Villagers claiming workstations that they can't see or accses
- Resolved
-
MCPE-151791 Villagers getting a job without touching the workbench.
- Resolved
-
MCPE-151996 Villager link to workstation they are unable to pathfind to.
- Resolved
-
MCPE-152812 villager can link to workstations behind a block
- Resolved
-
MCPE-153938 Villagers Take Job Despite Being Many Blocks Away From Job Block
- Resolved
-
MCPE-160812 Villagers do not retain workstations after 1.19.20
- Resolved
-
MCPE-161282 Villagers link to other workstation and sometimes lock their job after you sleep
- Resolved
-
MCPE-166824 Villagers take worktables and beds too far away from them
- Resolved
-
MCPE-167426 Villagers see through the ground!
- Resolved
-
MCPE-168701 My villagers don't claim the closest workstation
- Resolved
-
MCPE-168776 Villagers can claim beds/workstations despite if they are reachable or not
- Resolved
-
MCPE-171241 Villager Path Finding
- Resolved
-
MCPE-172651 villager does not take the nearest profession.
- Resolved
-
MCPE-173900 Villagers professioning more than 20 blocks away
- Resolved
-
MCPE-174437 Villager Job Finding not working
- Resolved
-
MCPE-179220 Villager Problem
- Resolved
-
MCPE-181935 Villagers have super rank when picking up a job
- Resolved
-
MCPE-184734 I've encountered issues with Minecraft Bedrock villagers' AI. They can't pathfind correctly
- Resolved
-
REALMS-8095 villager linking issues
- Resolved
-
REALMS-11719 Villagers Broken After 1.20
- Resolved
- relates to
-
MCPE-63311 Villagers claim workstations and beds that are too far away and/or get stuck unemployed
- Open
-
MCPE-143680 Villagers do not consistently sleep in large villages with available beds.
- Reopened
-
MCPE-46157 Villagers of the same profession switching workstations
- Resolved
-
MCPE-42912 Villagers cannot pathfind around walls to their beds
- Open