Overview
minecraft:tags is an item component: it goes in the components object of a custom item. Adds tags to the item so recipes, scripts and other items can find it by group, for example "minecraft:is_sword".
Fields
| Field | Type | Default | Description |
|---|---|---|---|
tags | string[] | none | The list of tag names given to the item. |
Example
Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):
BP/items/<name>.json
{
"minecraft:tags": {
"tags": []
}
}