Enum Constant and Description |
---|
ARMOR |
ARMOR_THOUGHNESS |
ATTACK_DAMAGE |
ATTACK_SPEED |
FOLLOW_RANGE |
JUMP_STRENGTH |
KNOCKBACK_RESISTANCE |
LUCK |
MAX_HEALTH |
MOVEMENT_SPEED |
SPAWN_REINFORCEMENTS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the predefined, global and unique name of this slot.
|
static Attribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attribute MAX_HEALTH
public static final Attribute FOLLOW_RANGE
public static final Attribute KNOCKBACK_RESISTANCE
public static final Attribute MOVEMENT_SPEED
public static final Attribute ATTACK_DAMAGE
public static final Attribute ARMOR
public static final Attribute ARMOR_THOUGHNESS
public static final Attribute ATTACK_SPEED
public static final Attribute LUCK
public static final Attribute JUMP_STRENGTH
public static final Attribute SPAWN_REINFORCEMENTS
public static Attribute[] values()
for (Attribute c : Attribute.values()) System.out.println(c);
public static Attribute 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 getName()