VOOZH about

URL: https://minecraft.wiki/w/Tag_(Bedrock_Edition)

โ‡ฑ Tag (Bedrock Edition) โ€“ Minecraft Wiki


Tag (Bedrock Edition)

From Minecraft Wiki
Jump to navigation Jump to search
๐Ÿ‘ Image
This article is about the registry tags in Bedrock Edition. For other uses, see Tag.

Tags (also called registry tags) in behavior packs allow players to group different game elements together.

Usage

[edit | edit source]

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

[edit | edit source]
  • [NBT Compound / JSON Object] The root object.
    • [NBT Compound / JSON Object] minecraft:<definition>: The type of definition. Must be a block, item, or biome.
      • [NBT Compound / JSON Object] components
        • [NBT Compound / JSON Object] minecraft:tags (Biomes and items only)
          • [NBT List / JSON Array] tags: List of tags.
            • [String]: A tag name.
        • [NBT Compound / JSON Object] tag:<tag name>: (Blocks only) <tag name> is replaced by the name of the tag. Object must be empty.

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 molang and scripting.

List of tag types

[edit | edit source]

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

[edit | edit source]
Bedrock Edition
?Added tags for blocks, items, and biomes.
1.19.40Preview 1.19.40.22Tags can now be used in recipe files.
1.20.50Preview 1.20.50.20Item tags are now specified under an array within the minecraft:tags component rather than under individual tag: components.
1.20.60Preview 1.20.60.24Biome tags are now specified under an array within the minecraft:tags component rather than as loose JSON objects.
26.10Preview 26.10.23Block tags are now specified under an array within the minecraft:tags component rather than under individual tag: components.
Block tags now require a namespace.

Issues

[edit | edit source]

Issues relating to "Tag" are maintained on the bug tracker. Issues should be reported and viewed there.

See also

[edit | edit source]

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Tag_(Bedrock_Edition)?oldid=3494338"

Navigation menu