conflictsWith

public abstract boolean conflictsWith(Enchantment other)

Check if this enchantment conflicts with another enchantment.

Return

True if there is getClassById conflict.

Parameters

other

The enchantment to check against