| Package | Description | 
|---|---|
| org.bukkit.potion | Classes to represent various  potionproperties and manipulation. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PotionType | PotionType. getByDamageValue(int damage)Deprecated. 
 Magic value | 
| static PotionType | PotionType. getByEffect(PotionEffectType effectType) | 
| PotionType | Potion. getType()Returns the  PotionTypeof this potion. | 
| static PotionType | PotionType. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static PotionType[] | PotionType. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Potion. setType(PotionType type)Sets the  PotionTypeof this potion. | 
| Constructor and Description | 
|---|
| Potion(PotionType type)Construct a new potion of the given type. | 
| Potion(PotionType type,
      int level)Create a new potion of the given type and level. | 
| Potion(PotionType type,
      int level,
      boolean splash)Deprecated. 
 In favour of using  Potion.Potion(PotionType)withPotion.splash(). | 
| Potion(PotionType type,
      int level,
      boolean splash,
      boolean extended)Deprecated. 
 | 
| Potion(PotionType type,
      Potion.Tier tier)Deprecated. 
 In favour of  Potion.Potion(PotionType, int) | 
| Potion(PotionType type,
      Potion.Tier tier,
      boolean splash)Deprecated. 
 In favour of  Potion.Potion(PotionType, int, boolean) | 
| Potion(PotionType type,
      Potion.Tier tier,
      boolean splash,
      boolean extended)Deprecated. 
 In favour of  Potion.Potion(PotionType, int, boolean,
     boolean) | 
Copyright © 2014. All rights reserved.