Teams are not retained when a mob converts to another mob. This affects:
Husk → Zombie
Zombie → Drowned
Villager → Zombie Villager
Piglin → Zombified Piglin
Hoglin → Zoglin
Pig → Zombified Piglin
Villager → Witch
Zombie Villager → Villager
How to reproduce
(for a zombie)
Create a team.
/team add test "Test Team"
Summon a zombie with this command:
/summon minecraft:zombie ~ ~ ~ {Team:"test",Tags:["bug_zombie"]}
Check the number of team members of the team using this command:
/team list test
You should only see one member on the team.
Next convert the zombie to a drowned using this command:
/data merge entity @e[tag=bug_zombie,limit=1,sort=nearest] {DrownedConversionTime:3}
Check the number of members of the team again:
/team list test
You should see that there are no members on the team.
I think this is happening because whenever a zombie is converted, the conversion result gets spawned and the zombie is removed without moving the team of the zombie to the result.
Linked issues
is duplicated by 1
Comments 6
This is pretty much fixed if the UUID line of MC-88967 is corrected.
You just forgot that this also applies to : Pig -> Zombified_piglin and Villager -> Witch with lightning