Commands/tag

Controls scoreboard tags on individual entities. , the number of tags owned by an entity cannot exceed 1024.
 note: This is distinct from entity type tags, which are applied to entity types and can't be changed by commands.
==Syntax==
* Java Edition
: tag <targets> add <name>
:: Adds a tag to the targets.
: tag <targets> list
:: Lists all tags on the targets.
: tag <targets> remove <name>
:: Removes a tag from the targets.
* Bedrock Edition
: tag <entity: targets> add <name: string>
:: Adds a tag to the targets.
: tag <entity: targets> remove <name: string>
:: Removes a tag from the targets.
: tag <entity: targets> list
:: Lists all tags on the targets.
==Arguments==
: Specifies the command's target.
: , 
: , must be either a target selector, a player name, or * for all score holders.
: Specifies the name of the tag to be added into or removed from the targets.
: 
==Result==
== Output ==
== History ==
== See also ==
* 
de:Befehl/tag
ja:コマンド/tag
zh:命令/tag