compatibility

fun compatibility(compatibility: (Enchantment) -> Boolean)

Sets the compatibility of this enchantment with other enchantments.

This option is exclusive with compatibleWith and incompatibleWith.