compatibleWith

fun compatibleWith(vararg enchantments: Enchantment)

Defines with which enchantments this enchantment is compatible. All other enchantments are incompatible.

This option is exclusive with compatibility and incompatibleWith.