The bug
Normally they don't equip armor since they're strong. With a dispenser however, armor can be dispensed on piglin brutes.
How to reproduce
Enter the Nether and spawn a piglin brute:
/summon piglin_brute ~ ~ ~ {NoAI:1b}
Place a dispenser facing the piglin brute
Insert a piece of armor into the dispenser
Power the dispenser
❌ The piglin brute equips the armor
Expected behavior
The piglin brute would not be able to equip armor.
Attachments
Comments 8
This behavior is consistent with villagers, illagers and all other humanoid mobs that don’t equip armor by themselves. WAI
I am able to confirm this behavior in 21w43a. Here are some extra details regarding this problem.
The Bug:
Armor can be equipped on piglin brutes through the use of dispensers.
Steps to Reproduce:
Build the setup as shown in the attachment below.
Summon a piglin brute whilst standing on top of the diamond block.
/summon minecraft:piglin_brute ~ ~ ~ {IsImmuneToZombification:1b}
Place a diamond chestplate inside the dispenser.
Activate the lever in an attempt to dispense the armor onto the piglin brute.
Take note as to whether or not armor can be equipped on piglin brutes through the use of dispensers.
Observed Behavior:
Armor can be equipped on piglin brutes through the use of dispensers.
Expected Behavior:
Armor would not be able to be equipped on piglin brutes through the use of dispensers.
Agreed with @unknown I don't see how this is a bug at all. Please explain why you expect this not to work, as this is consistent with other humanoid mobs in the game. (It even renders, unlike with villagers (MC-55516))
Can confirm.