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 io.papermc.paper.registry
-
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
(@Nullable PotionType type) Sets the underlying potion typevoid
Arrow.setBasePotionType
(@Nullable 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
(@Nullable PotionType type) Sets the underlying potion type -
Uses of PotionType in org.bukkit.potion
Modifier and TypeMethodDescriptionstatic @Nullable PotionType
PotionType.getByEffect
(@Nullable 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.Modifier and TypeMethodDescriptionPotionBrewer.getEffects
(@NotNull PotionType type, boolean upgraded, boolean extended) Deprecated, for removal: This API element is subject to removal in a future version.Upgraded / extended potions are now their ownPotionType
usegetPotionEffects()
insteadModifierConstructorDescriptionPotionData
(@NotNull PotionType type) Deprecated, for removal: This API element is subject to removal in a future version.PotionData
(@NotNull 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