mojira.dev
MC-153617

Villagers keep profession even when their workstation has been destroyed

The bug

I set out to make a villager trading hall and when I set up the job tables I got everyone to accept their job just fine but I did notice that when they would accept the job they would flicker their profession a lot before finally deciding on it. After setting everyone up with a table right in front of them I decided to make a villager have the specific trades I wanted however on breaking the table they would not change to jobless and would keep their profession.

Things I have tried:

  1. Breaking any and all beds around to see if they would update

  2. Killing any villagers that were jobless and re trying the whole table breaky thingy

  3. Removing any blocks above the villager

  4. Removing all job tables even the ones that I'm not dealing with which now every villager seams to be stuck in their profession

  5. Opening up the space and giving them more room to see the table 

Once I removed all the blocks on top of the villagers I did notice that a lot of villagers who were librarians changed over to clerics which struck as odd because now I have more clerics than brewing stands.

When I did break the blocks I was left with 2 villagers that were jobless so I tried to change their profession to librarian and now they are also stuck with their profession.

I did some testing in creative and it seams if the villager has room to move around they don't become broken like how I'm describing. If this is the case and they do require movement to change and relearn jobs then that might just how this has to be made.

Linked issues

MC-18930 Inventory Problems Resolved MC-150708 novice villagers don't change profession when breaking their job site blocks Resolved MC-153718 'Untraded' villagers keep their profession after breaking their workstation Resolved MC-153741 villagers doesnt drop profession when the workstation is broken Resolved MC-154415 Villagers don't lose their professions if they have been leveled up to Apprentice or higher. Resolved

Attachments

Comments 7

Villager trades are "locked" at dawn or dusk, they'll also only can change profession if they have not been traded before.

Nicholas Young

yeah I know the bug happens at anytime and also I found out the bug will be fixed in the next release

gaspoweredpick

I am pretty sure this is intended if the daytime is greater than 2000 and less than 9000, as the villagers don't care about their workstations at any other time.

Can confirm for 1.14.3-pre3; noticed that Villagers do not update coordinates of their workstation in {Brain:{}} until a different time of day, but not when setting it to night directly (due to the restock delay at day; fixed for 1.14.3-pre1 from MC-147740) thus retaining their profession until they need to restock (when executing the command: /time set 9000)

It is a weird functionality, if I do say so myself... and it really should apply to any time of day.

This issue is still on 1.14.3 pre-3 and I confirm it aswell.

This bug hasn't yet been resolved in the latest snapshot for 1.14.3 (1.14.3 pre-4).

Sometimes villagers lose interest in their workstation and let other villagers take his job but leaving the original villager employed forever. They will never try to go back to the workstation since they've been traded with. 

Nicholas Young

Agnes Larsson

Community Consensus

Mob behaviour

Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, Minecraft 1.14.3 Pre-Release 3, Minecraft 1.14.3 Pre-Release 4

Retrieved