mojira.dev
MC-169268

Villager trades resetting when leaving/re-entering village.

I've setup a trading hall of librarians (originally in 1.14.2), with a sign above each librarian's lectern so that I could keep track of their trades.  The librarians are allowed to mingle with the village and "gossip".

After the upgrade to 1.15.1 (and re-verified in a backup of the world that was opened in 1.14.4), leaving the village, and coming back into it later (far enough away for the village chunks to be unloaded, and then reloaded), I see the following:

 

  • multiple "novice" librarians have reset their trades (and their progress bar back to 0), even ones that have had 1-2 trades.  None of the "apprentice" level librarians have reset their trades

  • Which librarian is using which lectern has been shuffled.  They're consistently using a different lectern than their original one.

I've confirmed that the chunk(s) that contains my trading hall are different from the chunk that contains the village bell, and where the villagers congregate to gossip.

My guess is that when I'm leaving/entering the village, the chunk with the hall in it is unloaded, and the villagers can't find their job-sites, and then when the chunk with the job-sites is loaded, the villagers end up randomizing which jobsite is theirs.

This seems like it's similar to the following, perhaps with the same underlying cause:

 

 

Linked issues

Comments 7

Further, I just caught two villagers using the same jobsite.  I broke it while they were doing so, and both immediately lost their professions.  But only one claimed it when I re-placed it.

Have you traded with any of the villagers who are losing their trades ? Because if you don't trade with them at all the trades won't get locked

The villagers who lost their trades were ones I hadn't traded with.  Except for one villager where I think I traded with them once, but they were still novices (traded for a mending book).  

But villagers shouldn't be resetting/losing trades at all when their jobsite blocks aren't being broken.  There's a valid path from anywhere in the village to their jobsite.

 

I've had that happen once or twice (get a certain distance away from a villager i haven't traded with, and the trades changed), not sure if that is part of the game design or not. Only happened once or twice, so didn't really think about it too much

I am unable to reproduce this issue in 1.17 Pre-release 4.

Does anyone still encounter this bug in the latest version?

I am having this issue on the just released 1.17. From what I have tested, it seems like the trades reset at nightfall (not quite sure). Seems like they cant find a bed and for some reason that resets their trades. Wasnt having this issue until 1.17. All novice level librarians.

Aaron Wood

(Unassigned)

Community Consensus

Village system

Villager-Profession, Villager-trading

1.15.1, 1.15.2

Retrieved