canBeAppliedTo

@Since(version = "2.2")
abstract fun canBeAppliedTo(type: Material): Boolean

This method returns whether the enchantment with this applicable can be applied to the given type.

Return

whether the material suits this applicable