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

43 lines
1.0 KiB
JSON
Raw Normal View History

{
"$id": "blockception.minecraft.behavior.items.minecraft:enchantable",
"title": "Enchantable",
"description": "The enchantable component determines what enchantments can be applied to the item.",
"type": "object",
"additionalProperties": false,
"required": ["slot"],
"properties": {
"slot": {
"title": "Slot",
"description": "The slot type to be used to determine which enchantment types this item can be enchanted with.",
"enum": [
"all",
"axe",
"bow",
"crossbow",
"spear",
"armor_feet",
"armor_torso",
"armor_head",
"armor_legs",
"hoe",
"pickaxe",
"shovel",
"elytra",
"fishing_rod",
"flintsteel",
"sword",
"shield",
"shears",
"cosmetic_head",
"carrotstick"
]
},
"value": {
"title": "Value",
"description": "The enchantability of the item.",
"type": "number",
"minimum": 0
}
}
}