Piglins or mobs that CanPickUpLoot continuously swap out their diamond armor/ weapons
This one is tricky to explain, but easy to reproduce.
1. Spawn a piglin OR use /summon to spawn a mob with CanPickUpLoot to 1b.
2. Throw two pairs of diamond leggings near the piglin(make sure he doesn't already have golden ones)(you can use any type of armor except gold).
3. Listen.
Affects:
-Piglins
-Skeletons
-Wither Skeletons
-Strays
-Zombies
-Husks
-Drowned
-Zombified Piglins
Only seems to work with diamond armor
Created Issue:
Piglins, while admiring items, continuously swap out their armor/ weapons
This one is tricky to explain, but easy to reproduce.
1. Spawn a piglin.
2. Drop a stack of golden items.
3. Throw two pairs of diamond leggings near the piglin(make sure he doesn't already have golden ones)(you can use any type of armor except gold).
4. Listen.
Piglins, while admiring items,continuously swap out their armor/ weapons
This one is tricky to explain, but easy to reproduce.
1. Spawn a piglin.
2. Drop a stack of golden items.
3. Throw two pairs of diamond leggings near the piglin(make sure he doesn't already have golden ones)(you can use any type of armor except gold).
4. Listen.This one is tricky to explain, but easy to reproduce.
1. Spawn a piglin.
2. Throw two pairs of diamond leggings near the piglin(make sure he doesn't already have golden ones)(you can use any type of armor except gold).
3. Listen.
Piglins or mobs that CanPickUpLoot continuously swap out their armor/ weapons
This one is tricky to explain, but easy to reproduce.
1. Spawn a piglin.
2. Throw two pairs of diamond leggings near the piglin(make sure he doesn't already have golden ones)(you can use any type of armor except gold).
3. Listen.This one is tricky to explain, but easy to reproduce.
1. Spawn a piglin OR use /summon to spawn a mob with CanPickUpLoot to 1b.
2. Throw two pairs of diamond leggings near the piglin(make sure he doesn't already have golden ones)(you can use any type of armor except gold).
3. Listen.Affects:
-Piglins
-Skeletons
-Wither Skeletons
-Strays
-Zombies
-Husks
-Drowned
-Zombified Piglins
Piglins or mobs that CanPickUpLoot continuously swap out their diamond armor/ weapons
This one is tricky to explain, but easy to reproduce.
1. Spawn a piglin OR use /summon to spawn a mob with CanPickUpLoot to 1b.
2. Throw two pairs of diamond leggings near the piglin(make sure he doesn't already have golden ones)(you can use any type of armor except gold).
3. Listen.Affects:
-Piglins
-Skeletons
-Wither Skeletons
-Strays
-Zombies
-Husks
-Drowned
-Zombified Piglins
Only seems to work with diamond armor
duplicates

This appears to be a duplicate of
MC-193313, which hasn't yet been resolved. If you have any additional information to provide regarding this issue, feel free to comment on the parent ticket. If you feel that this issue is affecting you, feel free to vote for the duplicated ticket, to give Mojang a basic idea of how many people are impacted by the problem. Just to further inform you, this will not determine how quickly the bug gets handled or fixed.Thank you for your report!
We're tracking this issue in
MC-193313, so this ticket is being resolved and linked as a duplicate.If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki