Package org.bukkit.attribute
Enum Attribute
- All Implemented Interfaces:
- Serializable,- Comparable<Attribute>,- java.lang.constant.Constable,- Keyed
Types of attributes which may be present on an 
Attributable.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionArmor bonus of an Entity.Armor durability bonus of an Entity.Attack damage of an Entity.Attack knockback of an Entity.Attack speed of an Entity.Flying speed of an Entity.Range at which an Entity will follow others.Resistance of an Entity to knockback.Luck bonus of an Entity.Maximum health of an Entity.Movement speed of an Entity.Strength with which a horse will jump.Chance of a zombie to spawn reinforcements.
- 
Method Summary
- 
Enum Constant Details- 
GENERIC_MAX_HEALTHMaximum health of an Entity.
- 
GENERIC_FOLLOW_RANGERange at which an Entity will follow others.
- 
GENERIC_KNOCKBACK_RESISTANCEResistance of an Entity to knockback.
- 
GENERIC_MOVEMENT_SPEEDMovement speed of an Entity.
- 
GENERIC_FLYING_SPEEDFlying speed of an Entity.
- 
GENERIC_ATTACK_DAMAGEAttack damage of an Entity.
- 
GENERIC_ATTACK_KNOCKBACKAttack knockback of an Entity.
- 
GENERIC_ATTACK_SPEEDAttack speed of an Entity.
- 
GENERIC_ARMORArmor bonus of an Entity.
- 
GENERIC_ARMOR_TOUGHNESSArmor durability bonus of an Entity.
- 
GENERIC_LUCKLuck bonus of an Entity.
- 
HORSE_JUMP_STRENGTHStrength with which a horse will jump.
- 
ZOMBIE_SPAWN_REINFORCEMENTSChance of a zombie to spawn reinforcements.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getKeyDescription copied from interface:KeyedReturn the namespaced identifier for this object.
 
-