enchantsPrimary
Sets the item types for which this enchantment can show up in the enchanting table (if tableDiscoverable). If unspecified, defaults to the set of item types defined in enchants.
For your own custom items, you can also configure the supported enchantments via the Enchantable item behavior.