I think i don't fully understand, how can villager get/remove role. If he has no role and put him near workstation, he will get that role, everything works well. But, when I break his workstation, he will keep that role. Is that right? I think, he has to remove that role, because no workstation is there..
A job site block can be claimed only if it is unclaimed and within a village boundary with at least 1 bed. Removal of a claimed job site block causes the owner to switch to another profession or become unemployed, provided that the villager has no prior trades with the player. If the villager has prior trades, it keeps its profession and claims a new job site block that matches its profession if one is available. So, once a player trades with a villager, the villager keeps its profession forever.
This means that a villager will become unemployed (“removes his role”) only if he did not trade with any player beforehand.
Just open that shop menu dosn't mean "trade", right? I have 1 villager that I haven't traded with, just openned shop menu, when I broke his workstation, nothing has changed. - oh, now he changed role, it just was so slow. - does it has timings, when it can become unemployed and when not? - okay, just at evening, night, morning. Finally got my mending villager for 1 emerald - Now It!s not a question
And what about transforming him to zomie villager? Does it work as reset? - When I already trated with him (I am playing on hardcore, so 100% change to transform)