1.19.3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 2, 1.19.4
Mobs can replace weapons held in their main hand with armor. This does not occur at some point prior to 1.19.3, and might be a side effect of
- Summon a skeleton.
/data modify entity @e[type=minecraft:skeleton,distance=..10,limit=1] CanPickUpLoot set value 1b
- Give it a diamond chestplate item.
- The skeleton will correctly place the chestplate on its chest.
- Give it another diamond chestplate item.
The skeleton swaps the bow for the diamond chestplate.
The skeleton would ignore the chestplate, as it occurred in previous versions.