Overview
minecraft:rarity is an item component: it goes in the components object of a custom item. Sets how rare the item looks, which also sets the color of its name. Enchanting bumps it up one level: common and uncommon become rare, and rare becomes epic.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
value | string | "" | The starting rarity: "common", "uncommon", "rare" or "epic". |
Example
Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):
BP/items/<name>.json
{
"minecraft:rarity": {
"value": ""
}
}