In Team
Checks if the entity is in the specified team(s).
Type ID: eggolib:in_team
Note
If neither the team
or teams
field is present, this entity condition type will check if the entity is in any team.
Fields
Field | Type | Default | Description |
---|---|---|---|
team |
Abstract Team | optional | If specified, check if the entity is in this team. |
teams |
Array of Abstract Teams | optional | If specified, check if the entity is in any of these teams. |
Examples
This example will check if the entity is in a team with the name "epicGamers".