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.POTION
Server 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 TypeMethodDescriptionvoid
AreaEffectCloud.setBasePotionType
(PotionType type) Sets the underlying potion typevoid
Arrow.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 TypeMethodDescriptionvoid
PotionMeta.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 PotionType
PotionType.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 PotionType
Returns 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 ownPotionType
usegetPotionEffects()
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