mojira.dev
MC-189525

Armored entities from pre-1.9 worlds upgrade to dual wielding armor

When updating mobs that are wearing armor in version 1.8.9 and before, directly to 18w19a and after, all mobs swap armor slots with hand slots, resulting in the mobs wearing items, and holding armor. This can also cause skeletons, wither skeletons, and zombie pigmen/piglins to be empty handed. 

Steps to reproduce:

  1. Spawn a mob with armor (only boots and leggings work) in any version before 15w31a

  2. Update the world directly to any version after 18w16a

  3. All mobs that were previously wearing armor should now be dual wielding leggings and boots

Here is a list of all affected mobs:

Zombie
Baby Zombie
Zombie Villager
Baby Zombie Villager
Zombie Pigman
Skeleton
Wither Skeleton
Armor Stands
Villager (Not Visually Noticeable)

Linked issues

Attachments

Comments 3

migrated

Can confirm in 1.18.1.
Note that armor stands are also affected.

[Mod] Jingy

Affects upgrading worlds from pre-1.9 to 1.20.5

[media]

Gullyman4

Duplicated by MC-264319, which has a Mojang priority, whereas this ticket does not but is now fixed in a future version. It could likely be marked as a duplicate at least the snapshot is released.

migrated

gegy

Confirmed

Datafixer

1.15.2, 1.16 Pre-release 5, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, ..., 1.17 Pre-release 1, 1.17 Pre-release 2, 1.18.1, 1.20.5, 1.21

25w03a

Retrieved