private static enum Commands.AttributeAliases extends java.lang.Enum<Commands.AttributeAliases>
Enum Constant and Description |
---|
ATTACK |
ATTACKSPEED |
DEFENSE |
FOLLOW |
HEALTH |
KNOCKBACK |
SPEED |
Modifier and Type | Field and Description |
---|---|
private org.bukkit.attribute.Attribute |
_attribute |
Modifier and Type | Method and Description |
---|---|
(package private) org.bukkit.attribute.Attribute |
get() |
static Commands.AttributeAliases |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Commands.AttributeAliases[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Commands.AttributeAliases HEALTH
public static final Commands.AttributeAliases ATTACKSPEED
public static final Commands.AttributeAliases KNOCKBACK
public static final Commands.AttributeAliases ATTACK
public static final Commands.AttributeAliases DEFENSE
public static final Commands.AttributeAliases SPEED
public static final Commands.AttributeAliases FOLLOW
public static Commands.AttributeAliases[] values()
for (Commands.AttributeAliases c : Commands.AttributeAliases.values()) System.out.println(c);
public static Commands.AttributeAliases 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 nullorg.bukkit.attribute.Attribute get()