Minecraft:Tag (Bedrock Edition)
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Tags (also called registry tags) in Minecraft:behavior packs allow players to group different game elements together.
Usage
Tags are defined in the block's, item's, and biome's behavior definitions, usually as part of the minecraft:tags component. Custom tags do not need a registry to be validated.
JSON format
- Template:Nbt/sprite The root object.
- Template:Nbt: The type of definition. Must be a
- REDIRECT Template:Code
- REDIRECT Template:Code
Template:Redr, or
- REDIRECT Template:Code
- Template:Nbt/sprite components
- Template:Nbt/sprite minecraft:tags (Biomes and items only)
- Template:Nbt/sprite tags: List of tags.
- Template:Nbt/sprite: A tag name.
- Template:Nbt/sprite tags: List of tags.
- Template:Nbt: (Blocks only) Template:Cd is replaced by the name of the tag. Object must be empty.
- Template:Nbt/sprite minecraft:tags (Biomes and items only)
- Template:Nbt/sprite components
A block, item, or biome may have multiple tags. Combinations of custom and vanilla tags are authorized.
Tags can be used in command queries and behavior pack Minecraft:molang and scripting.
List of tag types
This section lists the tag types that are used by the game to affect its behavior in various ways, as well as those that are populated by default, even if the game does not use them to control some behavior.
History
Issues
Script error: No such module "Issue list".
See also
pt:Marcação (Edição Bedrock) zh:基岩版标签