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