hasConflictingEnchant

public abstract boolean hasConflictingEnchant(Enchantment ench)

Checks if the specified enchantment conflicts with any enchantments in this ItemMeta.

Return

true if the enchantment conflicts, false otherwise

Parameters

ench

enchantment to test