Uses of Enum Class
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
Subclasses with type arguments of type PotionType in org.bukkit.potionModifier and TypeClassDescriptionenumThis enum reflects and matches each potion state that can be obtained from the Creative mode inventoryMethods in org.bukkit.potion that return PotionTypeModifier and TypeMethodDescriptionstatic PotionTypePotionType.getByEffect(PotionEffectType effectType) Deprecated.MisleadingPotionData.getType()Deprecated, for removal: This API element is subject to removal in a future version.Gets the type of the potion, Type matches up with each kind of craftable potionstatic PotionTypeReturns the enum constant of this class with the specified name.static PotionType[]PotionType.values()Returns an array containing the constants of this enum class, 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 ownPotionTypeusePotionType.getPotionEffects()insteadConstructors in org.bukkit.potion with parameters of type PotionTypeModifierConstructorDescriptionPotionData(PotionType type) Deprecated, for removal: This API element is subject to removal in a future version.PotionData(PotionType type, boolean extended, boolean upgraded) Deprecated, for removal: This API element is subject to removal in a future version.Instantiates a final PotionData object to contain information about a Potion