Since it was requested that MC-311623 be split up, this report covers equipment transfer when a hoglin converts to a zoglin.
When such a conversion occurs, the zoglin retains any equipment given to the hoglin via commands. Per the standard outlined in MC-311623, it would be expected that the items a zoglin cannot make use of (all equipment slots) would be dropped according to drop_chances (preferably reflecting the chance value exactly).
This “bug” has basically no impact on the game, so I would not really mind if this were to be designated Works As Intended, Won’t Fix or Invalid. However, should other equipment transfer be fully implemented according to the MC-311623 standard, the reason for the inconsistency may be difficult to describe.
To reproduce
Be in the overworld
/summon minecraft:hoglin ~ ~ ~ {TimeInOverworld:280,equipment:{mainhand:{id:iron_sword},head:{id:iron_helmet},saddle:{id:saddle}},drop_chances:{mainhand:2f,head:2f,saddle:2f}}Once the piglin converts,
/data get entity @n[type=zoglin] equipment
❌ All three items have been retained
Expected behavior
All three items would be dropped on the ground since the zoglin cannot make use of them.
Can confirm.