public enum Attribute extends Enum<Attribute>
Attributable.| Enum Constant and Description | 
|---|
| GENERIC_ARMORArmor bonus of an Entity. | 
| GENERIC_ARMOR_TOUGHNESSArmor durability bonus of an Entity. | 
| GENERIC_ATTACK_DAMAGEAttack damage of an Entity. | 
| GENERIC_ATTACK_SPEEDAttack speed of an Entity. | 
| GENERIC_FOLLOW_RANGERange at which an Entity will follow others. | 
| GENERIC_KNOCKBACK_RESISTANCEResistance of an Entity to knockback. | 
| GENERIC_LUCKLuck bonus of an Entity. | 
| GENERIC_MAX_HEALTHMaximum health of an Entity. | 
| GENERIC_MOVEMENT_SPEEDMovement speed of an Entity. | 
| HORSE_JUMP_STRENGTHStrength with which a horse will jump. | 
| ZOMBIE_SPAWN_REINFORCEMENTSChance of a zombie to spawn reinforcements. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Attribute | valueOf(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 GENERIC_MAX_HEALTH
public static final Attribute GENERIC_FOLLOW_RANGE
public static final Attribute GENERIC_KNOCKBACK_RESISTANCE
public static final Attribute GENERIC_MOVEMENT_SPEED
public static final Attribute GENERIC_ATTACK_DAMAGE
public static final Attribute GENERIC_ATTACK_SPEED
public static final Attribute GENERIC_ARMOR
public static final Attribute GENERIC_ARMOR_TOUGHNESS
public static final Attribute GENERIC_LUCK
public static final Attribute HORSE_JUMP_STRENGTH
public static final Attribute ZOMBIE_SPAWN_REINFORCEMENTS
public static Attribute[] values()
for (Attribute c : Attribute.values()) System.out.println(c);
public static Attribute 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 nullCopyright © 2017. All rights reserved.