mojira.dev
MC-55516

Armor worn by villagers doesn't render

The Bug:

Armor worn by villagers doesn't render.

Steps to Reproduce:

  1. 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}}}
  2. 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
  3. 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

Attachments

Comments 30

Confirmed.
also possible wtith

/summon Villager ~ ~1 ~ {Equipment:[{},{id:diamond_helmet},{id:diamond_chestplate},{id:diamond_leggings},{id:diamond_boots}]}

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)

you're welcome
(I think it won't be supported in the future anymore)

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.

20 more comments

Can confirm in 1.17.1.

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.

[media]
  • 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.

Can confirm in 1.20.5 pre4.

Can confirm in 1.20.5.

Rice Nice

Avoma

(Unassigned)

Confirmed

Gameplay

Normal

Textures and models

villager

Minecraft 14w20b, Minecraft 1.8, Minecraft 1.8.8, Minecraft 15w39c, Minecraft 1.11.2, ..., 1.21.4, 25w08a, 1.21.5, 1.21.6, 1.21.7

Retrieved