The slot.villager tag does not work. When you run the command it says it was successful but when you look at the villager nothing has happened. Here is the command I used.
/replaceitem entity @e[type=Villager,r=2] slot.villager.1 minecraft:iron_hemet
After the stot.villager tag I have tried many numbers other than 1
Comments 8
MIakuss I tried that command when I first wanted to put an iron helmet on my villagers but it didn't work. I will try again though with a block.
The wiki page states otherwise
Can this issue please be reopened. On the 1.8 wiki page under Mobs it says that Villagers have a slot for blocks AND helmets
German Wiki says in contrast:
slot.armor.head: Rüstung: Kopfbedeckung bei Spieler, Skelett, Zombie und Riese. Als Kopfbedeckung sind natürlich Helme möglich, aber auch (nicht beim Riesen) fast alle Blöcke wie Stein, Holz oder der bekannte Kürbis. Besonders interessant ist der Kopf, denn damit sind auch alle Spielerköpfe möglich, aber auch Köpfe von Kreaturen wie dem Enderman oder Herobrine (siehe MHF-Köpfe). Auch Dorfbewohner können ausnahmsweise einen anderen Kopf oder einen Block als Kopf tragen, nicht jedoch einen Helm.
http://minecraft-de.gamepedia.com/Replaceitem#bef-replaceitem
Rough translation:
slot.armor.head: Armor: Headgear for Player, Skeleton, Zombie and Giant. [...] Also Villagers can wear another Head or Block, but not a helmet.
Please attach the command as text, not as screenshot.