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 io.papermc.paper.datacomponent.item
Methods in io.papermc.paper.datacomponent.item that return PotionTypeModifier and TypeMethodDescriptionPotionContents.potion()The potion type in this item: the item will inherit all effects from this.Methods in io.papermc.paper.datacomponent.item with parameters of type PotionTypeModifier and TypeMethodDescriptionPotionContents.Builder.potion(@Nullable PotionType type) Sets the potion type for this builder. -
Uses of PotionType in io.papermc.paper.registry
Fields in io.papermc.paper.registry with type parameters of type PotionType -
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(@Nullable PotionType type) Sets the underlying potion typevoidArrow.setBasePotionType(@Nullable 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(@Nullable PotionType type) Sets the underlying potion type -
Uses of PotionType in org.bukkit.potion
Methods in org.bukkit.potion that return PotionTypeModifier and TypeMethodDescriptionstatic @Nullable PotionTypePotionType.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 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(@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 ownPotionTypeusegetPotionEffects()insteadConstructors in org.bukkit.potion with parameters of type PotionTypeModifierConstructorDescriptionPotionData(@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