Uses of Enum
com.cryptomorin.xseries.XEnchantment
Packages that use XEnchantment
-
Uses of XEnchantment in com.cryptomorin.xseries
Fields in com.cryptomorin.xseries declared as XEnchantmentModifier and TypeFieldDescriptionstatic final XEnchantment[]XEnchantment.VALUESCached list ofvalues()to avoid allocating memory forFields in com.cryptomorin.xseries with type parameters of type XEnchantmentModifier and TypeFieldDescriptionstatic final XTag<XEnchantment> XTag.ARMOR_ENCHANTSTag representing all possible enchants that can be applied to all armor pieces (excluding elytras)static final XTag<XEnchantment> XTag.AXE_ENCHANTSTag representing all possible enchants that can be applied to axesstatic final XTag<XEnchantment> XTag.BOOTS_ENCHANTSTag representing all possible enchants that can be applied to bootsstatic final XTag<XEnchantment> XTag.BOW_ENCHANTSTag representing all possible enchants that can be applied to bowsstatic final XTag<XEnchantment> XTag.CHESTPLATE_ENCHANTSTag representing all possible enchants that can be applied to chestplatesstatic final XTag<XEnchantment> XTag.CROSSBOW_ENCHANTSTag representing all possible enchants that can be applied to crossbowsstatic final XTag<XEnchantment> XTag.ELYTRA_ENCHANTSTag representing all possible enchants that can be applied to elytrasstatic final XTag<XEnchantment> XTag.HELEMT_ENCHANTSTag representing all possible enchants that can be applied to helmets/turtle shellsstatic final XTag<XEnchantment> XTag.HOE_ENCHANTSTag representing all possible enchants that can be applied to hoesstatic final XTag<XEnchantment> XTag.LEGGINGS_ENCHANTSTag representing all possible enchants that can be applied to leggingsstatic final XTag<XEnchantment> XTag.PICKAXE_ENCHANTSTag representing all possible enchants that can be applied to pickaxesstatic final XTag<XEnchantment> XTag.SHEARS_ENCHANTSTag representing all possible enchants that can be applied to shearsstatic final XTag<XEnchantment> XTag.SHOVEL_ENCHANTSTag representing all possible enchants that can be applied to shovelsstatic final XTag<XEnchantment> XTag.SWORD_ENCHANTSTag representing all possible enchants that can be applied to swordsMethods in com.cryptomorin.xseries that return XEnchantmentModifier and TypeMethodDescriptionstatic XEnchantmentXEnchantment.matchXEnchantment(org.bukkit.enchantments.Enchantment enchantment) Gets an enchantment from Vanilla and bukkit names.XEnchantment.or(XEnchantment alternateEnchantment) Checks if this enchantment is supported in the current version and returns itself if yes.static XEnchantmentReturns 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 XEnchantmentModifier and TypeMethodDescriptionstatic Optional<XEnchantment> XEnchantment.matchXEnchantment(String enchantment) Gets an enchantment from Vanilla and bukkit names.Methods in com.cryptomorin.xseries with parameters of type XEnchantmentModifier and TypeMethodDescriptionXEnchantment.or(XEnchantment alternateEnchantment) Checks if this enchantment is supported in the current version and returns itself if yes.