Uses of Enum Class
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.VALUESCached list ofvalues()to avoid allocating memory for calling the method every time.Fields in com.cryptomorin.xseries with type parameters of type XPotionModifier and TypeFieldDescriptionXPotion.DEBUFFSDeprecated.XTag.DEBUFFSAn unmodifiable set of "bad" potion effects.XPotion.REGISTRYMethods in com.cryptomorin.xseries that return XPotionModifier and TypeMethodDescriptionXPotion.Effect.getXPotion()static @NotNull XPotionXPotion.matchXPotion(@NotNull org.bukkit.potion.PotionEffectType type) Deprecated.Useof(PotionEffectType)instead.static XPotionXPotion.matchXPotion(@NotNull org.bukkit.potion.PotionType type) Deprecated.Useof(PotionType)instead.static @NotNull XPotionXPotion.of(@NotNull org.bukkit.potion.PotionEffectType type) Parses the XPotion for this potion effect.static @NotNull XPotionXPotion.of(@NotNull org.bukkit.potion.PotionType potion) static XPotionReturns the enum constant of this class with the specified name.static XPotion[]XPotion.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.cryptomorin.xseries that return types with arguments of type XPotionModifier and TypeMethodDescriptionXPotion.matchXPotion(@NotNull String potion) Deprecated.Useof(String)instead.
XTag.DEBUFFSinstead.