mojira.dev
MC-63391

Entities Do Not Accept "team" Selector Parameter/Only living entities (mobs, animals, villagers, players) can be on a team

When running the following:

/scoreboard teams join TEAM1 @e[type=Item]

The item entity is entered into the team as expected. However, inserting a "team" parameter like so:

/scoreboard teams join TEAM2 @e[type=Item,team=TEAM1]

Will not work, and the entity remains in TEAM1. The same occurs when setting the parameter to "blank", "not blank", and "not on team" (given that they could match to begin with, of course):

/scoreboard teams join TEAM2 @e[type=Item,team=]
/scoreboard teams join TEAM2 @e[type=Item,team=!]
/scoreboard teams join TEAM2 @e[type=Item,team=!TEAM1]

It will work correctly on player targets and regular mobs. Note that this is not restricted to joining teams (in which the following will not work):

/say @e[type=Item,team=TEAM1]

Linked issues

Comments 1

michael

Only living entities can be on a team, items are not living entities, only mobs, animals, villagers and players are.

Skylinerw

michael

Unconfirmed

Minecraft 14w30b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w32a, Minecraft 14w32b, Minecraft 14w32c, Minecraft 14w32d

Retrieved