Enchantment Condition
data class EnchantmentCondition(val condition: RegistrableCondition, val negate: Boolean, val target: TargetType, val arguments: List<String>) : Describable<EnchantmentCondition>
This class represents an enchantment condition, which includes a RegistrableCondition, a negation indicator, the target value and arguments, if any.
At no point should you need to construct this class, as it is only created internally by UnderscoreEnchants to create enchantments.
Constructors
Link copied to clipboard
constructor(condition: RegistrableCondition, negate: Boolean, target: TargetType, arguments: List<String>)