public enum AttributeType extends Enum<AttributeType>
| Modifier and Type | Method and Description |
|---|---|
double |
getDefault() |
double |
getMax() |
double |
getMin() |
static AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeType GENERIC_MAX_HEALTH
public static final AttributeType GENERIC_FOLLOW_RANGE
public static final AttributeType GENERIC_KNOCKBACK_RESISTANCE
public static final AttributeType GENERIC_MOVEMENT_SPEED
public static final AttributeType GENERIC_ATTACK_DAMAGE
public static final AttributeType GENERIC_ATTACK_SPEED
public static final AttributeType GENERIC_ARMOR
public static final AttributeType GENERIC_ARMOR_TOUGHNESS
public static final AttributeType GENERIC_LUCK
public static final AttributeType GENERIC_FLYING_SPEED
public static final AttributeType HORSE_JUMP_STRENGTH
public static final AttributeType ZOMBIE_SPAWN_REINFORCEMENTS
public static AttributeType[] values()
for (AttributeType c : AttributeType.values()) System.out.println(c);
public static AttributeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic double getDefault()
public double getMin()
public double getMax()
Copyright © 2020. All rights reserved.