Uses of Enum
com.cryptomorin.xseries.XPotion
Packages that use XPotion
-
Uses of XPotion in com.cryptomorin.xseries
Fields in com.cryptomorin.xseries declared as XPotionModifier and TypeFieldDescriptionstatic final XPotion[]
XPotion.VALUES
Cached list ofvalues()
to avoid allocating memory for calling the method every time.Fields in com.cryptomorin.xseries with type parameters of type XPotionMethods in com.cryptomorin.xseries that return XPotionModifier and TypeMethodDescriptionXPotion.Effect.getXPotion()
static XPotion
XPotion.matchXPotion
(org.bukkit.potion.PotionEffectType type) Parses the XPotion for this potion effect.static XPotion
Returns the enum constant of this type with the specified name.static XPotion[]
XPotion.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 XPotionModifier and TypeMethodDescriptionXPotion.matchXPotion
(String potion) Parses a potion effect type from the given string.