EnchantmentPredicate
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
static create(enchantment as Enchantment) as EnchantmentPredicate
Parameters:
enchantment: Enchantment
Type: Enchantment
Return Type:
EnchantmentPredicate
static create(level as Ints) as EnchantmentPredicate
Parameters:
level: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
Return Type:
EnchantmentPredicate
static create(enchantment as Enchantment, level as Ints) as EnchantmentPredicate
Parameters:
enchantment: Enchantment
Type: Enchantment
level: IntMinMaxBoundsPredicate
Type: IntMinMaxBoundsPredicate
Return Type:
EnchantmentPredicate