Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
short
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
WATER
public static final Potion WATER
MUNDANE
public static final Potion MUNDANE
THICK
public static final Potion THICK
AWKWARD
public static final Potion AWKWARD
NIGHT_VISION
public static final Potion NIGHT_VISION
LONG_NIGHT_VISION
public static final Potion LONG_NIGHT_VISION
INVISIBILITY
public static final Potion INVISIBILITY
LONG_INVISIBILITY
public static final Potion LONG_INVISIBILITY
LEAPING
public static final Potion LEAPING
STRONG_LEAPING
public static final Potion STRONG_LEAPING
LONG_LEAPING
public static final Potion LONG_LEAPING
FIRE_RESISTANCE
public static final Potion FIRE_RESISTANCE
LONG_FIRE_RESISTANCE
public static final Potion LONG_FIRE_RESISTANCE
SWIFTNESS
public static final Potion SWIFTNESS
STRONG_SWIFTNESS
public static final Potion STRONG_SWIFTNESS
LONG_SWIFTNESS
public static final Potion LONG_SWIFTNESS
SLOWNESS
public static final Potion SLOWNESS
STRONG_SLOWNESS
public static final Potion STRONG_SLOWNESS
LONG_SLOWNESS
public static final Potion LONG_SLOWNESS
WATER_BREATHING
public static final Potion WATER_BREATHING
LONG_WATER_BREATHING
public static final Potion LONG_WATER_BREATHING
HEALING
public static final Potion HEALING
STRONG_HEALING
public static final Potion STRONG_HEALING
HARMING
public static final Potion HARMING
STRONG_HARMING
public static final Potion STRONG_HARMING
POISON
public static final Potion POISON
STRONG_POISON
public static final Potion STRONG_POISON
LONG_POISON
public static final Potion LONG_POISON
REGENERATION
public static final Potion REGENERATION
STRONG_REGENERATION
public static final Potion STRONG_REGENERATION
LONG_REGENERATION
public static final Potion LONG_REGENERATION
STRENGTH
public static final Potion STRENGTH
STRONG_STRENGTH
public static final Potion STRONG_STRENGTH
LONG_STRENGTH
public static final Potion LONG_STRENGTH
WEAKNESS
public static final Potion WEAKNESS
LONG_WEAKNESS
public static final Potion LONG_WEAKNESS
LUCK
public static final Potion LUCK
TURTLE_MASTER
public static final Potion TURTLE_MASTER
STRONG_TURTLE_MASTER
public static final Potion STRONG_TURTLE_MASTER
LONG_TURTLE_MASTER
public static final Potion LONG_TURTLE_MASTER
SLOW_FALLING
public static final Potion SLOW_FALLING
LONG_SLOW_FALLING
public static final Potion LONG_SLOW_FALLING
Field Details
VALUES
public static final Potion [] VALUES
Method Details
values
public static Potion [] values ()
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null
getByJavaIdentifier
public static Potion getByJavaIdentifier
(String javaIdentifier)
getByBedrockId
public static Potion getByBedrockId
(int bedrockId)
getJavaIdentifier
public String getJavaIdentifier ()
getBedrockId
public short getBedrockId ()