Team NBT tag only exists for EntityLivingBase entities and not for all
The bug
The Team tag makes an entity directly join a team once its NBT data is read. As all entities can be in a team this tag should exist for all entities and not only for the ones extending EntityLivingBase.
How to reproduce
- Create a team
/team add testTeam
- Summon the following entities
/summon armor_stand ~ ~ ~ {Team:"testTeam"} /summon minecart ~ ~ ~ {Team:"testTeam"} - Run the following command
/team list testTeam
→ It only shows the armor stand
- Run the following command and repeat the previous step
/team join testTeam @e[type=minecart,limit=1]
→ Now the minecart is listed as well