Uses of Enum Class
org.bukkit.potion.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
Modifier and TypeFieldDescriptionstatic final Registry
<PotionType> Registry.POTION
Server potions. -
Uses of PotionType in org.bukkit.entity
Modifier and TypeMethodDescriptionAreaEffectCloud.getBasePotionType()
Returns the potion type about the base potionArrow.getBasePotionType()
Returns the potion type about the base potionModifier 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
Modifier and TypeMethodDescriptionPotionMeta.getBasePotionType()
Returns the potion type about the base potionModifier and TypeMethodDescriptionvoid
PotionMeta.setBasePotionType
(PotionType type) Sets the underlying potion type -
Uses of PotionType in org.bukkit.potion
Modifier and TypeMethodDescriptionstatic PotionType
PotionType.getByEffect
(PotionEffectType effectType) Deprecated.Misleadingstatic 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.Modifier and TypeMethodDescriptionPotionBrewer.getEffects
(PotionType type, boolean upgraded, boolean extended) Deprecated.Upgraded / extended potions are now their ownPotionType
usegetPotionEffects()
instead