The Bug
I found a nitwit villager who worked at a stonecutter
Steps to Reproduce
Summon a zombie villager with the nitwit profession that will almost instantly convert into a villager.
/summon minecraft:zombie_villager ~ ~ ~ {ConversionTime:10,VillagerData:{profession:"minecraft:nitwit"}}
Place down any villager workstation nearby, for example, a composter.
Watch the behavior of the villager closely as it approaches the workstation.
Check to see if the nitwit has an assigned job site block by using the "/data" command.
/data get entity @e[type=minecraft:villager,limit=1,sort=nearest] Brain.memories."minecraft:job_site".value
Take note as to whether or not nitwit villagers can have professions.
Observed Behavior
Nitwit villagers can have professions.
Expected Behavior
Nitwit villagers would not be able to have professions.
Attachments
Comments 15
same problem confirmed in 1.14.1 pre release 2 (as of Friday May 9). that is stupid because the nitwit takes up a workstation block that other villagers could use
This has happened to me today in 1.14.3. I Twice with farmers who I've bred, traded with, then when I right click them they shake their head and make the nitwit sound. It I look up their data is says their profession is a farmer, they are wearing the farmer outfit, but unable to trade with them again. They also don't seem to be able to breed.
I have encounter today with this issue when I was doing testings for another Bug Report, the most effective way I managed to reproduce this was to Cure a Nitwit Zombie Villager close to a free Workstation, after it became a Villager it was able to claim a workstation and interact like an employed Villager.
[media]
Just encountered this bug in 1.16.3. I had to break the composter several times until a non-nitwit villager claimed it.
Can confirm this in 21w44a. Here are some extra details regarding this problem.
The Bug:
Nitwit villagers can have professions.
Steps to Reproduce:
Summon a zombie villager with the nitwit profession that will almost instantly convert into a villager.
/summon minecraft:zombie_villager ~ ~ ~ {ConversionTime:10,VillagerData:{profession:"minecraft:nitwit"}}
Place down any villager workstation nearby, for example, a composter.
Watch the behavior of the villager closely as it approaches the workstation.
Check to see if the nitwit has an assigned job site block by using the "/data" command.
/data get entity @e[type=minecraft:villager,limit=1,sort=nearest] Brain.memories."minecraft:job_site".value
Take note as to whether or not nitwit villagers can have professions.
Observed Behavior:
Nitwit villagers can have professions.
Expected Behavior:
Nitwit villagers would not be able to have professions.
I think this bug is related to another bug (MC-177505) that causes cured villagers to be able to work at a wrong type of workstation.
Is the fixing has influence to customized Nitwit?
For example if I run
/summon minecraft:villager ~ ~ ~ {VillagerData:{profession:"minecraft:nitwit"},Offers:{Recipes:[{maxUses:114514,buy:{id:"minecraft:emerald_block",Count:64},sell:{id:"minecraft:dirt",Count:1}}]}}
Can I still open trading UI of this Nitwit?
Apparently he knows what he's doing. Just because he has no profession doesn't mean he's not entitled to work. You really would love to see him being on welfare, right...