UndiscoveredApplicable

See the documentation for Undiscovered.

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
open override val aliases: List<String>

The aliases for this registrable.

Link copied to clipboard
@Since(version = "2.2")
open val custom: Boolean

This method indicates whether this applicable is registered or dynamically created (false if registered, true if dynamically created). Dynamically created applicables are those that start with # and indicate singular Materials. Please do not override this method and set it to true if you are just creating a registrable applicable. This is only internally overridden by the enchantment deserializer.

Functions

Link copied to clipboard
open override fun canBeAppliedTo(type: Material): Boolean

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