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.

Related issues

MC-18930 Inventory Problems MC-150708 novice villagers don't change profession when breaking their job site blocks MC-153718 'Untraded' villagers keep their profession after breaking their workstation MC-153741 villagers doesnt drop profession when the workstation is broken MC-154415 Villagers don't lose their professions if they have been leveled up to Apprentice or higher. MC-156836 Can't remove proffesion of Villagers which traded some times. MC-156844 Villagers can`t lose job. MC-156899 Villagers do not loose their porfetion MC-157262 Villagers Keep Professions After Workstation Destroyed MC-160952 Villager not losing job MC-171937 Villagers do not lose jobs even though there is no job site block MC-175108 Villagers wont lose their profession MC-175173 Villagers Not Losing Their Professions MC-178772 Villagers can use a wrong job site block/not changing professions MC-178929 Villagers not loosing trade once profession block destroyed MC-178936 Villagers not loosing their jobs MC-179488 Villager not changing back to normal after work block destroyed. MC-179990 duplicate work site MC-182305 Villagers not resetting after their job block has been destroyed even before trading MCL-18930 Can't un-employ a villager after trading with it.

Attachments

Comments

migrated
[media][media][media][media][media][media][media][media][media][media][media]
migrated

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

migrated

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.

migrated

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.

migrated

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

migrated

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

migrated

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. 

migrated

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