public static enum Potion1_9.PotionType extends java.lang.Enum<Potion1_9.PotionType>
Enum Constant and Description |
---|
AWKWARD |
EMPTY |
FIRE_RESISTANCE |
INSTANT_DAMAGE |
INSTANT_HEAL |
INVISIBILITY |
JUMP |
LUCK |
MUNDANE |
NIGHT_VISION |
POISON |
REGEN |
SLOWNESS |
SPEED |
STRENGTH |
THICK |
WATER |
WATER_BREATHING |
WEAKNESS |
Modifier and Type | Method and Description |
---|---|
static Potion1_9.PotionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Potion1_9.PotionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Potion1_9.PotionType FIRE_RESISTANCE
public static final Potion1_9.PotionType INSTANT_DAMAGE
public static final Potion1_9.PotionType INSTANT_HEAL
public static final Potion1_9.PotionType INVISIBILITY
public static final Potion1_9.PotionType JUMP
public static final Potion1_9.PotionType LUCK
public static final Potion1_9.PotionType NIGHT_VISION
public static final Potion1_9.PotionType POISON
public static final Potion1_9.PotionType REGEN
public static final Potion1_9.PotionType SLOWNESS
public static final Potion1_9.PotionType SPEED
public static final Potion1_9.PotionType STRENGTH
public static final Potion1_9.PotionType WATER
public static final Potion1_9.PotionType WATER_BREATHING
public static final Potion1_9.PotionType WEAKNESS
public static final Potion1_9.PotionType EMPTY
public static final Potion1_9.PotionType MUNDANE
public static final Potion1_9.PotionType THICK
public static final Potion1_9.PotionType AWKWARD
public static Potion1_9.PotionType[] values()
for (Potion1_9.PotionType c : Potion1_9.PotionType.values()) System.out.println(c);
public static Potion1_9.PotionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null