Files
minecraft-bedrock-json-schemas/source/behavior/items/format/components/rarity.json

25 lines
889 B
JSON
Raw Normal View History

{
"$id": "blockception.minecraft.behavior.items.minecraft:rarity",
"title": "Rarity",
"description": "Specifies the base rarity and subsequently color of the item name when the player hovers the cursor over the item.",
"definitions": {
"rarities": {
"enum": ["common", "uncommon", "rare", "epic"]
}
},
"oneOf": [
{
"type": "string",
"$ref": "#/definitions/rarities"
},
{
"type": "object",
"properties": {
"value": {
"description": "Sets the base rarity of the item. The rarity of an item automatically increases when enchanted, either to Rare when the base rarity is Common or Uncommon, or Epic when the base rarity is Rare.",
"$ref": "#/definitions/rarities"
}
}
}
]
}