incompatibleWith

abstract fun incompatibleWith(enchantments: RegistryEntrySet.Paper<Enchantment>)

Sets the enchantments that are incompatible (exclusive) with this enchantment.