Uses of Class
org.bukkit.potion.PotionEffect
-
Packages that use PotionEffect Package Description org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.event.entity org.bukkit.inventory.meta The interfaces used when manipulating extra data can can be stored insideitem stacks.org.bukkit.potion Classes to represent variouspotionproperties and manipulation. -
-
Uses of PotionEffect in org.bukkit.block
Methods in org.bukkit.block that return PotionEffect Modifier and Type Method Description PotionEffectBeacon. getPrimaryEffect()Returns the primary effect set on the beaconPotionEffectBeacon. getSecondaryEffect()Returns the secondary effect set on the beacon. -
Uses of PotionEffect in org.bukkit.entity
Methods in org.bukkit.entity that return PotionEffect Modifier and Type Method Description PotionEffectLivingEntity. getPotionEffect(PotionEffectType type)Returns the activePotionEffectof the specified type.Methods in org.bukkit.entity that return types with arguments of type PotionEffect Modifier and Type Method Description Collection<PotionEffect>LivingEntity. getActivePotionEffects()Returns all currently activePotionEffects on the living entity.List<PotionEffect>AreaEffectCloud. getCustomEffects()Gets an immutable list containing all custom potion effects applied to this cloud.List<PotionEffect>Arrow. getCustomEffects()Gets an immutable list containing all custom potion effects applied to this arrow.Collection<PotionEffect>ThrownPotion. getEffects()Returns the effects that are applied by this potion.Methods in org.bukkit.entity with parameters of type PotionEffect Modifier and Type Method Description booleanAreaEffectCloud. addCustomEffect(PotionEffect effect, boolean overwrite)Adds a custom potion effect to this cloud.booleanArrow. addCustomEffect(PotionEffect effect, boolean overwrite)Adds a custom potion effect to this arrow.booleanLivingEntity. addPotionEffect(PotionEffect effect)Adds the givenPotionEffectto the living entity.booleanLivingEntity. addPotionEffect(PotionEffect effect, boolean force)Adds the givenPotionEffectto the living entity.Method parameters in org.bukkit.entity with type arguments of type PotionEffect Modifier and Type Method Description booleanLivingEntity. addPotionEffects(Collection<PotionEffect> effects)Attempts to add all of the givenPotionEffectto the living entity. -
Uses of PotionEffect in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return PotionEffect Modifier and Type Method Description PotionEffectEntityPotionEffectEvent. getNewEffect()Gets new potion effect of the changed type to be applied.PotionEffectEntityPotionEffectEvent. getOldEffect()Gets the old potion effect of the changed type, which will be removed.Constructors in org.bukkit.event.entity with parameters of type PotionEffect Constructor Description EntityPotionEffectEvent(LivingEntity livingEntity, PotionEffect oldEffect, PotionEffect newEffect, EntityPotionEffectEvent.Cause cause, EntityPotionEffectEvent.Action action, boolean override) -
Uses of PotionEffect in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return types with arguments of type PotionEffect Modifier and Type Method Description List<PotionEffect>PotionMeta. getCustomEffects()Gets an immutable list containing all custom potion effects applied to this potion.List<PotionEffect>SuspiciousStewMeta. getCustomEffects()Gets an immutable list containing all custom potion effects applied to this suspicious stew.Methods in org.bukkit.inventory.meta with parameters of type PotionEffect Modifier and Type Method Description booleanPotionMeta. addCustomEffect(PotionEffect effect, boolean overwrite)Adds a custom potion effect to this potion.booleanSuspiciousStewMeta. addCustomEffect(PotionEffect effect, boolean overwrite)Adds a custom potion effect to this suspicious stew. -
Uses of PotionEffect in org.bukkit.potion
Methods in org.bukkit.potion that return PotionEffect Modifier and Type Method Description PotionEffectPotionBrewer. createEffect(PotionEffectType potion, int duration, int amplifier)Creates aPotionEffectfrom the givenPotionEffectType, applying duration modifiers and checks.PotionEffectPotionEffectType. createEffect(int duration, int amplifier)Creates a PotionEffect from this PotionEffectType, applying duration modifiers and checks.Methods in org.bukkit.potion that return types with arguments of type PotionEffect Modifier and Type Method Description Collection<PotionEffect>Potion. getEffects()Deprecated.Collection<PotionEffect>PotionBrewer. getEffects(PotionType type, boolean upgraded, boolean extended)Returns a collection ofPotionEffectthat would be applied from a potion with the given type.Collection<PotionEffect>PotionBrewer. getEffectsFromDamage(int damage)Deprecated.Non-Functional
-