Package org.bukkit.attribute
Interface Attribute
- All Superinterfaces:
Comparable<Attribute>
,Keyed
,OldEnum<Attribute>
,Translatable
Types of attributes which may be present on an
Attributable
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final Attribute
Armor bonus of an Entity.static final Attribute
Armor durability bonus of an Entity.static final Attribute
Attack damage of an Entity.static final Attribute
Attack knockback of an Entity.static final Attribute
Attack speed of an Entity.static final Attribute
Block break speed of a Player.static final Attribute
The block reach distance of a Player.static final Attribute
How long an entity remains burning after ingition.static final Attribute
The entity reach distance of a Player.static final Attribute
Resistance to knockback from explosions.static final Attribute
The fall damage multiplier of an Entity.static final Attribute
Flying speed of an Entity.static final Attribute
Range at which an Entity will follow others.static final Attribute
The gravity applied to an Entity.static final Attribute
Strength with which an Entity will jump.static final Attribute
Resistance of an Entity to knockback.static final Attribute
Luck bonus of an Entity.static final Attribute
Maximum absorption of an Entity.static final Attribute
Maximum health of an Entity.static final Attribute
Mining speed for correct tools.static final Attribute
Movement speed through difficult terrain.static final Attribute
Movement speed of an Entity.static final Attribute
Oxygen use underwater.static final Attribute
The distance which an Entity can fall without damage.static final Attribute
The relative scale of an Entity.static final Attribute
Sneaking speed.static final Attribute
Chance of a zombie to spawn reinforcements.static final Attribute
The height which an Entity can walk over.static final Attribute
Underwater mining speed.static final Attribute
Sweeping damage.static final Attribute
Range at which mobs will be tempted by items.static final Attribute
Movement speed through water. -
Method Summary
Methods inherited from interface org.bukkit.Translatable
getTranslationKey
-
Field Details
-
MAX_HEALTH
Maximum health of an Entity. -
FOLLOW_RANGE
Range at which an Entity will follow others. -
KNOCKBACK_RESISTANCE
Resistance of an Entity to knockback. -
MOVEMENT_SPEED
Movement speed of an Entity. -
FLYING_SPEED
Flying speed of an Entity. -
ATTACK_DAMAGE
Attack damage of an Entity. -
ATTACK_KNOCKBACK
Attack knockback of an Entity. -
ATTACK_SPEED
Attack speed of an Entity. -
ARMOR
Armor bonus of an Entity. -
ARMOR_TOUGHNESS
Armor durability bonus of an Entity. -
FALL_DAMAGE_MULTIPLIER
The fall damage multiplier of an Entity. -
LUCK
Luck bonus of an Entity. -
MAX_ABSORPTION
Maximum absorption of an Entity. -
SAFE_FALL_DISTANCE
The distance which an Entity can fall without damage. -
SCALE
The relative scale of an Entity. -
STEP_HEIGHT
The height which an Entity can walk over. -
GRAVITY
The gravity applied to an Entity. -
JUMP_STRENGTH
Strength with which an Entity will jump. -
BURNING_TIME
How long an entity remains burning after ingition. -
EXPLOSION_KNOCKBACK_RESISTANCE
Resistance to knockback from explosions. -
MOVEMENT_EFFICIENCY
Movement speed through difficult terrain. -
OXYGEN_BONUS
Oxygen use underwater. -
WATER_MOVEMENT_EFFICIENCY
Movement speed through water. -
TEMPT_RANGE
Range at which mobs will be tempted by items. -
BLOCK_INTERACTION_RANGE
The block reach distance of a Player. -
ENTITY_INTERACTION_RANGE
The entity reach distance of a Player. -
BLOCK_BREAK_SPEED
Block break speed of a Player. -
MINING_EFFICIENCY
Mining speed for correct tools. -
SNEAKING_SPEED
Sneaking speed. -
SUBMERGED_MINING_SPEED
Underwater mining speed. -
SWEEPING_DAMAGE_RATIO
Sweeping damage. -
SPAWN_REINFORCEMENTS
Chance of a zombie to spawn reinforcements.
-
-
Method Details
-
valueOf
Deprecated.only for backwards compatibility, useRegistry.get(NamespacedKey)
instead.- Parameters:
name
- of the attribute.- Returns:
- the attribute with the given name.
-
values
Deprecated.useIterable.iterator()
.- Returns:
- an array of all known attributes.
-
Registry.get(NamespacedKey)
instead.