JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
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
SPEED
public static final Effect SPEED
SLOWNESS
public static final Effect SLOWNESS
HASTE
public static final Effect HASTE
MINING_FATIGUE
public static final Effect MINING_FATIGUE
STRENGTH
public static final Effect STRENGTH
INSTANT_HEALTH
public static final Effect INSTANT_HEALTH
INSTANT_DAMAGE
public static final Effect INSTANT_DAMAGE
JUMP_BOOST
public static final Effect JUMP_BOOST
NAUSEA
public static final Effect NAUSEA
REGENERATION
public static final Effect REGENERATION
RESISTANCE
public static final Effect RESISTANCE
FIRE_RESISTANCE
public static final Effect FIRE_RESISTANCE
WATER_BREATHING
public static final Effect WATER_BREATHING
INVISIBILITY
public static final Effect INVISIBILITY
BLINDNESS
public static final Effect BLINDNESS
NIGHT_VISION
public static final Effect NIGHT_VISION
HUNGER
public static final Effect HUNGER
WEAKNESS
public static final Effect WEAKNESS
POISON
public static final Effect POISON
WITHER
public static final Effect WITHER
HEALTH_BOOST
public static final Effect HEALTH_BOOST
ABSORPTION
public static final Effect ABSORPTION
SATURATION
public static final Effect SATURATION
GLOWING
public static final Effect GLOWING
LEVITATION
public static final Effect LEVITATION
LUCK
public static final Effect LUCK
UNLUCK
public static final Effect UNLUCK
SLOW_FALLING
public static final Effect SLOW_FALLING
CONDUIT_POWER
public static final Effect CONDUIT_POWER
DOLPHINS_GRACE
public static final Effect DOLPHINS_GRACE
BAD_OMEN
public static final Effect BAD_OMEN
HERO_OF_THE_VILLAGE
public static final Effect HERO_OF_THE_VILLAGE
DARKNESS
public static final Effect DARKNESS
Field Details
VALUES
public static final Effect [] VALUES
Method Details
values
public static Effect [] 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
from
public static Effect from (int id)