public enum MenacingModifier extends java.lang.Enum<MenacingModifier>
Enum Constant and Description |
---|
DEFLECTING
Effect: Knocks back everyone who attacks the mob.
|
EXPLOSIVE
Effect: Explodes on death, dealing 500% damage.
|
MASSIVE
Effect: Takes only 20% of inflicted damage.
|
RAVENOUS
Effect: Chases the player with 200% speed.
|
SPLITTING
Effect: Splits into 4 mobs on death.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name of the menacing modifier.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the name of the menacing modifier in a title friendly format.
|
static MenacingModifier |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MenacingModifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MenacingModifier DEFLECTING
public static final MenacingModifier EXPLOSIVE
public static final MenacingModifier MASSIVE
public static final MenacingModifier RAVENOUS
public static final MenacingModifier SPLITTING
public static MenacingModifier[] values()
for (MenacingModifier c : MenacingModifier.values()) System.out.println(c);
public static MenacingModifier 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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<MenacingModifier>