Controls scoreboard tags on individual entities.
tag <targets> add <name>
tag <targets> list
tag <targets> remove <name>
- A target selector. "*" may be used in place of entity to represent all entities tracked by the scoreboard, provided the entities exist and are online.
- Specifies the name of the tag to be added into or removed from the targets.
- Valid characters include
[-_+.A-Za-z0-9]. Since 1.13, it is possible to have tags with as many as 32489 characters through use of command block minecarts or function files. Modified servers and external editors can bypass the allowed characters and/or character limit (up to 32767 maximum), though these tags would not be possible to edit in vanilla. Whether side effects could occur from this has not been tested.
- Fails if the arguments are not specified correctly.
- On success:
add— Adds a tag to the targets.
list— Lists all tags on the targets.
remove— Removes a tag from the targets.