The Bug:
Armor worn by villagers doesn't render.
Steps to Reproduce:
Summon a villager that's wearing a diamond chestplate by using the command provided below.
/summon minecraft:villager ~ ~ ~ {equipment:{chest:{id:"minecraft:diamond_chestplate",count:1}}}
Check to see whether or not the villager is wearing the diamond chestplate by using the command provided below.
/data get entity @n[type=minecraft:villager] equipment
Take note as to whether or not armor worn by villagers is rendered.
Observed Behavior:
Armor worn by villagers doesn't render.
Expected Behavior:
Armor worn by villagers would render.
Linked issues
is duplicated by 4
Attachments
Comments 30
Kumasasa, just a quick thing about your command, its:
hand
feet
lags
chest
head
however since it's considered diamond armor it'll render like it's fine (when on a zombie/skeleton/pigman)
if you romeve the helmet, then the boots disappear, because they take that slot
just fixing your command a bit so it's in the right order"
/summon Villager ~ ~1 ~ {Equipment:[{},{id:diamond_boots},{id:diamond_leggings},{id:diamond_chestplate},{id:diamond_helmet}]}
it's not to be mean or something, I'm just helping for in the future
wiki:
Equipment: The list of compound tags of the equipment the mob has. Each compound tag in the list is an Item without the slot tag. All 5 entries will always exist (even for players) but may be empty compound tags to indicate no item.
0: The item being held in the mob's hand.
1: Armor (Feet)
2: Armor (Legs)
3: Armor (Chest)
4: Armor (Head)
Thanks for fixing.
(Used numerical IDs in the game to confirm but changed to Item names here in the ticket)
Happens with all mobs that have the CanPickUpLoot tag true, but only undead mobs actually render it. This probably isn't a feature unless they decide to make a special skin for villagers wearing armor.
I am able to confirm this behavior in 21w41a. Here are some extra details regarding this problem.
The Bug:
Armor doesn't render when worn by villagers.
Steps to Reproduce:
Build the setup as shown in the attachment below.
Summon a villager on top of the diamond block and place a diamond chestplate inside of the dispenser.
Activate the dispenser using the lever.
Check to see if the villager is wearing the diamond chestplate by using the "data" command.
/data get entity @e[type=minecraft:villager,limit=1,sort=nearest] ArmorItems
Take note as to whether or not armor is rendered when worn by villagers.
Observed Behavior:
Armor doesn't render when worn by villagers.
Expected Behavior:
Armor would render when worn by villagers.
@unknown Please do not add unrelated comments to a ticket. Please contact Mojang Support for account or billing issues.
Confirmed.
also possible wtith