Item Documentation - minecraft:enchantable

minecraft:enchantable determines what enchantments can be applied to the item. Not all enchantments will have an effect on all item components.

Parameters

Name Default Value Type Description
slot not set String What enchantments can be applied (ex. Using bow would allow this item to be enchanted as if it were a bow).
value not set -- The value of the enchantment (minimum of 0).