Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-79433

Using too many job site blocks prevents villagers from linking to their workstations



    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Beta, Beta, Beta, 1.14.60 Hotfix, 1.16.1, 1.16.201 Hotfix, 1.16.221 Hotfix, 1.17.30, 1.17.32, 1.18.2 Hotfix
    • None
    • Confirmed
    • Multiple
    • 381751


      Updated description by GoldenHelmet

      Steps to reproduce

      1. Spawn a villager
      2. Place a bed and workstation and wait for the villager to link to each.
      3. Trade with the villager to lock in its profession.
      4. Place at least 32 workstations of a different type within the 32 x 32 area around the villager.
      5. Break and replace the villager's workstation.

      Expected result

      The villager relinks to its workstation.

      Actual result

      The villager does not relink to its workstation.

      Original summary
      Using barrels causes villagers to lose links to their workstations
      Original description
      Summary: Trading hall with 17 villagers comprising:
      9 Librarians
      2 Farmers
      1 Butcher
      1 Fletcher
      1 Fisherman
      2 Shepherds
      1 Cleric

      Observation 1: 
      6 x Double chests contain items to trade are located very close to the villagers.

      In this format, you can break any workstation, angry particles emit from villager, replace the workstation and the villager immediately links back to the workstation. This works on all librarians, shepherds and the fletcher so I assume it would for the others trades but this is untested as I have too many alternate workstations in my base (<42 blocks away) for them to link to and I refuse to spend needless time breaking/replacing workstations just for them to link to the one I want them to link to. So this is all hunky dory (kinda) and as the game should work.

      Observation 2: 
      REPLACE 6 x Double chests with 12+BARRELS (to have discrete items in barrels instead of shared items in chests) and locate them close to the villagers

      In this format, if you break any workstation, angry particles emit from villager, however, replacing the workstation does not cause the villager to immediately link back to the workstation. I have waited until the next day when they are supposed to refresh their trades and they still don't link and will not refresh their trades thus breaking the trading hall.

      Solution or temporary fix as observed:

      Breaking all the barrels (except the one for the fisherman) and replacing them with double chests seems to fix the linking back to the workstations for the trades where it is feasible to break and replace.

      Thoughts: Perhaps because the barrel container is more "advanced" than a standard chest, requiring far more code because of villager interactions, etc - this may be causing too many instructions to be carried out over a given time frame or perhaps locks up something due to container scanning and by breaking the barrels and going back to chests frees the error....NOTE: all the barrels contained trading items, over 75% of them were almost full

      Sorry for the essay, but I feel this error may be contributing to other villager trading bugs and hope this helps

       EDIT: NOTE: 15 blocks away around the corner is a furnace array using 12 barrels and downstairs (say 25 blocks away diagonally) is a brewing array using 30 barrels and a cane farm using 4 barrels








        Issue Links



              dazza61 Darren Westlake
              11 Vote for this issue
              4 Start watching this issue