Team - From Entity (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 1.16.0
Syntax
team of %entity% [(of|from) %scoreboard%]Description
Get an instance of a team from an entity. You have the option to get a team from a specific scoreboard (defaults to the main scoreboard). Teams off the main scoreboard cannot be serialized/saved to variables (This is because custom scoreboards aren't persistent).
Examples
set {_team} to team of player
set {_team} to team of player from {-teams::groups}