Uses of Enum
org.bukkit.potion.PotionType
Packages that use PotionType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc.The interfaces used when manipulating extra data can can be stored inside
item stacks.Classes to represent various
potion
properties and manipulation.-
Uses of PotionType in org.bukkit
Fields in org.bukkit with type parameters of type PotionTypeModifier and TypeFieldDescriptionstatic final Registry<PotionType>Registry.POTIONServer potions. -
Uses of PotionType in org.bukkit.entity
Methods in org.bukkit.entity that return PotionTypeModifier and TypeMethodDescriptionAreaEffectCloud.getBasePotionType()Returns the potion type about the base potionArrow.getBasePotionType()Returns the potion type about the base potionMethods in org.bukkit.entity with parameters of type PotionTypeModifier and TypeMethodDescriptionvoidAreaEffectCloud.setBasePotionType(PotionType type) Sets the underlying potion typevoidArrow.setBasePotionType(PotionType type) Sets the underlying potion type -
Uses of PotionType in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return PotionTypeModifier and TypeMethodDescriptionPotionMeta.getBasePotionType()Returns the potion type about the base potionMethods in org.bukkit.inventory.meta with parameters of type PotionTypeModifier and TypeMethodDescriptionvoidPotionMeta.setBasePotionType(PotionType type) Sets the underlying potion type -
Uses of PotionType in org.bukkit.potion
Methods in org.bukkit.potion that return PotionTypeModifier and TypeMethodDescriptionstatic PotionTypePotionType.getByEffect(PotionEffectType effectType) Deprecated.MisleadingPotion.getType()Deprecated.Returns thePotionTypeof this potion.PotionData.getType()Deprecated.Gets the type of the potion, Type matches up with each kind of craftable potionstatic PotionTypeReturns 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 PotionTypeModifier and TypeMethodDescriptionPotionBrewer.getEffects(PotionType type, boolean upgraded, boolean extended) Deprecated.Upgraded / extended potions are now their ownPotionTypeusegetPotionEffects()insteadvoidPotion.setType(PotionType type) Deprecated.Sets thePotionTypeof this potion.Constructors in org.bukkit.potion with parameters of type PotionTypeModifierConstructorDescriptionPotion(PotionType type) Deprecated.Construct a new potion of the given type.Potion(PotionType type, int level) Deprecated.Create a new potion of the given type and level.Potion(PotionType type, int level, boolean splash) Deprecated.In favour of usingPotion(PotionType)withPotion.splash().Potion(PotionType type, int level, boolean splash, boolean extended) Deprecated.PotionData(PotionType type) Deprecated.PotionData(PotionType type, boolean extended, boolean upgraded) Deprecated.Instantiates a final PotionData object to contain information about a Potion