Determines what enchantments can be applied to the item. Not all enchantments will have an effect on all item components.
Note
The following enchantment slot types that can be set for the value of slot
: sword, bow, pickaxe, armor_head, armor_torso, armor_legs, armor_feet.
Enchantable Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
slot | not set | String | Specifies which types of enchantments can be applied. For example, bow would allow this item to be enchanted as if it were a bow. |
Chestplate: "armor_torso" , My Boots: "armor_feet" , My Helm: "armor_head" |
value | not set | Integer number | Specifies the value of the enchantment (minimum of 0). | Chestplate: 10 |
Samples
Item Axe Turret Kit
"minecraft:enchantable": {
"slot": "pickaxe",
"value": 14
}
Chestplate
"minecraft:enchantable": {
"value": 10,
"slot": "armor_torso"
}
My Boots
"minecraft:enchantable": {
"value": 10,
"slot": "armor_feet"
}
My Helm
"minecraft:enchantable": {
"value": 10,
"slot": "armor_head"
}
My Leggings
"minecraft:enchantable": {
"value": 10,
"slot": "armor_legs"
}