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
Methods in org.bukkit.potion that return PotionTypeModifier and TypeMethodDescriptionstatic PotionTypePotionType.getByEffect(PotionEffectType effectType) Deprecated.Misleadingstatic 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 ownPotionTypeusegetPotionEffects()instead