-
Cached list of
values()
to avoid allocating memory for
calling the method every time.
An unmodifiable set of "bad" potion effects.
XPotion.matchXPotion(org.bukkit.potion.PotionEffectType type)
Parses the XPotion for this potion effect.
Checks if this potion is supported in the current version and
returns itself if yes.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Parses a potion effect type from the given string.
Checks if this potion is supported in the current version and
returns itself if yes.