Uses of Class
com.cryptomorin.xseries.XEnchantment
Package | Description |
---|---|
com.cryptomorin.xseries |
-
Uses of XEnchantment in com.cryptomorin.xseries
Fields in com.cryptomorin.xseries with type parameters of type XEnchantment Modifier and Type Field Description static EnumSet<XEnchantment>
XEnchantment. VALUES
An immutable cached list ofvalues()
to avoid allocating memory for calling the method every time.Methods in com.cryptomorin.xseries that return XEnchantment Modifier and Type Method Description static XEnchantment
XEnchantment. matchXEnchantment(org.bukkit.enchantments.Enchantment enchantment)
Gets an enchantment from Vanilla and bukkit names.static XEnchantment
XEnchantment. valueOf(String name)
Returns the enum constant of this type with the specified name.static XEnchantment[]
XEnchantment. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.cryptomorin.xseries that return types with arguments of type XEnchantment Modifier and Type Method Description static Optional<XEnchantment>
XEnchantment. matchXEnchantment(String enchantment)
Gets an enchantment from Vanilla and bukkit names.