57 lines
1.1 KiB
Java
57 lines
1.1 KiB
Java
package org.bukkit.attribute;
|
|
|
|
/**
|
|
* Types of attributes which may be present on an {@link Attributable}.
|
|
*/
|
|
public enum Attribute {
|
|
|
|
/**
|
|
* Maximum health of an Entity.
|
|
*/
|
|
GENERIC_MAX_HEALTH,
|
|
/**
|
|
* Range at which an Entity will follow others.
|
|
*/
|
|
GENERIC_FOLLOW_RANGE,
|
|
/**
|
|
* Resistance of an Entity to knockback.
|
|
*/
|
|
GENERIC_KNOCKBACK_RESISTANCE,
|
|
/**
|
|
* Movement speed of an Entity.
|
|
*/
|
|
GENERIC_MOVEMENT_SPEED,
|
|
/**
|
|
* Flying speed of an Entity.
|
|
*/
|
|
GENERIC_FLYING_SPEED,
|
|
/**
|
|
* Attack damage of an Entity.
|
|
*/
|
|
GENERIC_ATTACK_DAMAGE,
|
|
/**
|
|
* Attack speed of an Entity.
|
|
*/
|
|
GENERIC_ATTACK_SPEED,
|
|
/**
|
|
* Armor bonus of an Entity.
|
|
*/
|
|
GENERIC_ARMOR,
|
|
/**
|
|
* Armor durability bonus of an Entity.
|
|
*/
|
|
GENERIC_ARMOR_TOUGHNESS,
|
|
/**
|
|
* Luck bonus of an Entity.
|
|
*/
|
|
GENERIC_LUCK,
|
|
/**
|
|
* Strength with which a horse will jump.
|
|
*/
|
|
HORSE_JUMP_STRENGTH,
|
|
/**
|
|
* Chance of a zombie to spawn reinforcements.
|
|
*/
|
|
ZOMBIE_SPAWN_REINFORCEMENTS;
|
|
}
|