Commands/tag

Controls entity tags on individual entities.

Note: this is distinct from entity type tags, which are applied to entity types and cannot be changed by commands.


 * Syntax




 * Arguments


 * targets
 * A target selector.


 * name
 * Specifies the name of the tag to be added into or removed from the targets.


 * Result


 * Fails if the arguments are not specified correctly.


 * On success:
 * — Adds a tag to the targets.
 * — Lists all tags on the targets.
 * — Removes a tag from the targets.