org.bukkit.potion
@Deprecated public static enum Potion.Tier extends Enum<Potion.Tier>
| Modifier and Type | Method and Description | 
|---|---|
static Potion.Tier | 
getByDamageBit(int damageBit)
Deprecated.  
  | 
int | 
getDamageBit()
Deprecated.  
  | 
static Potion.Tier | 
valueOf(String name)
Deprecated.  
Returns the enum constant of this type with the specified name. 
 | 
static Potion.Tier[] | 
values()
Deprecated.  
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Potion.Tier ONE
public static final Potion.Tier TWO
public static Potion.Tier[] values()
for (Potion.Tier c : Potion.Tier.values()) System.out.println(c);
public static Potion.Tier valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic int getDamageBit()
public static Potion.Tier getByDamageBit(int damageBit)
Copyright © 2014. All rights reserved.