| Package | Description | 
|---|---|
| org.bukkit.entity | Interfaces for non-voxel objects that can exist in a  world, including all players, monsters, projectiles, etc. | 
| org.bukkit.inventory.meta | The interfaces used when manipulating extra data can can be stored inside
  item stacks. | 
| org.bukkit.potion | Classes to represent various  potionproperties and manipulation. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<PotionEffect> | LivingEntity. getActivePotionEffects()Returns all currently active  PotionEffects on the living
 entity. | 
| Collection<PotionEffect> | ThrownPotion. getEffects()Returns the effects that are applied by this potion. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | LivingEntity. addPotionEffect(PotionEffect effect)Adds the given  PotionEffectto the living entity. | 
| boolean | LivingEntity. addPotionEffect(PotionEffect effect,
               boolean force)Adds the given  PotionEffectto the living entity. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | LivingEntity. addPotionEffects(Collection<PotionEffect> effects)Attempts to add all of the given  PotionEffectto the living
 entity. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PotionEffect> | PotionMeta. getCustomEffects()Gets an immutable list containing all custom potion effects applied to
 this potion. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | PotionMeta. addCustomEffect(PotionEffect effect,
               boolean overwrite)Adds a custom potion effect to this potion. | 
| Modifier and Type | Method and Description | 
|---|---|
| PotionEffect | PotionEffectType. createEffect(int duration,
            int amplifier)Creates a PotionEffect from this PotionEffectType, applying duration
 modifiers and checks. | 
| PotionEffect | PotionBrewer. createEffect(PotionEffectType potion,
            int duration,
            int amplifier)Creates a  PotionEffectfrom the givenPotionEffectType,
 applying duration modifiers and checks. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<PotionEffect> | Potion. getEffects() | 
| Collection<PotionEffect> | PotionBrewer. getEffectsFromDamage(int damage)Deprecated. 
 Magic value | 
Copyright © 2015. All rights reserved.