Uses of Class
org.bukkit.potion.PotionType
-
Packages that use PotionType Package Description org.bukkit.potion Classes to represent variouspotionproperties and manipulation. -
-
Uses of PotionType in org.bukkit.potion
Methods in org.bukkit.potion that return PotionType Modifier and Type Method Description static @Nullable PotionTypePotionType. getByEffect(@Nullable PotionEffectType effectType)Deprecated.Misleading@NotNull PotionTypePotion. getType()Deprecated.Returns thePotionTypeof this potion.@NotNull PotionTypePotionData. getType()Gets the type of the potion, Type matches up with each kind of craftable potionstatic PotionTypePotionType. valueOf(String name)Returns the enum constant of this type with the specified name.static PotionType[]PotionType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.bukkit.potion with parameters of type PotionType Modifier and Type Method Description @NotNull Collection<PotionEffect>PotionBrewer. getEffects(@NotNull PotionType type, boolean upgraded, boolean extended)Returns a collection ofPotionEffectthat would be applied from a potion with the given type.voidPotion. setType(@NotNull PotionType type)Deprecated.Sets thePotionTypeof this potion.Constructors in org.bukkit.potion with parameters of type PotionType Constructor Description Potion(@NotNull PotionType type)Deprecated.Construct a new potion of the given type.Potion(@NotNull PotionType type, int level)Deprecated.Create a new potion of the given type and level.Potion(@NotNull PotionType type, int level, boolean splash)Deprecated.In favour of usingPotion(PotionType)withPotion.splash().Potion(@NotNull PotionType type, int level, boolean splash, boolean extended)Deprecated.PotionData(@NotNull PotionType type)PotionData(@NotNull PotionType type, boolean extended, boolean upgraded)Instantiates a final PotionData object to contain information about a Potion
-