2025-08-28 10:55:05 -07:00
|
|
|
{
|
|
|
|
|
"$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",
|
2025-10-23 00:32:31 -07:00
|
|
|
"description": "The slot type to be used to determine which enchantment types this item can be enchanted with.",
|
2025-08-28 10:55:05 -07:00
|
|
|
"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",
|
2025-10-23 00:32:31 -07:00
|
|
|
"description": "The enchantability of the item.",
|
2025-08-28 10:55:05 -07:00
|
|
|
"type": "number",
|
|
|
|
|
"minimum": 0
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|