Class Attributes
java.lang.Object
net.minecraft.world.entity.ai.attributes.Attributes
Contains all entity attributes defined and registered by the vanilla game.
-
Field Summary
FieldsModifier and TypeFieldDescriptionHandles the armor points for an entity.Handles the amount of damage mitigated by wearing armor.Handles the attack damage inflicted by entities.Handles additional horizontal knockback when damaging another entity.Handles the cooldown rate when attacking with an item.Handles the movement speed of flying entities such as parrots and bees.Handles the range in blocks that a mob will notice and track players and other potential targets.Handles the jump strength for horses.Handles the reduction of horizontal knockback when damaged by attacks or projectiles.Handles luck when a player generates loot from a loot table.Handles the maximum health of an entity.Handles the movement speed of entities.Handles the chance for a zombie to summon reinforcements when attacked. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ARMOR
Handles the armor points for an entity. Each point represents half a chestplate of armor on the armor bar. -
ARMOR_TOUGHNESS
Handles the amount of damage mitigated by wearing armor. -
ATTACK_DAMAGE
Handles the attack damage inflicted by entities. The value of this attribute represents half hearts. -
ATTACK_KNOCKBACK
Handles additional horizontal knockback when damaging another entity. -
ATTACK_SPEED
Handles the cooldown rate when attacking with an item. The value represents the number of full strength attacks that can be performed per second. -
BLOCK_BREAK_SPEED
-
BLOCK_INTERACTION_RANGE
-
BURNING_TIME
-
EXPLOSION_KNOCKBACK_RESISTANCE
-
ENTITY_INTERACTION_RANGE
-
FALL_DAMAGE_MULTIPLIER
-
FLYING_SPEED
Handles the movement speed of flying entities such as parrots and bees. -
FOLLOW_RANGE
Handles the range in blocks that a mob will notice and track players and other potential targets. -
GRAVITY
-
JUMP_STRENGTH
Handles the jump strength for horses. -
KNOCKBACK_RESISTANCE
Handles the reduction of horizontal knockback when damaged by attacks or projectiles. -
LUCK
Handles luck when a player generates loot from a loot table. This can impact the quality of loot and influence bonus rolls. -
MAX_ABSORPTION
-
MAX_HEALTH
Handles the maximum health of an entity. -
MINING_EFFICIENCY
-
MOVEMENT_EFFICIENCY
-
MOVEMENT_SPEED
Handles the movement speed of entities. -
OXYGEN_BONUS
-
SAFE_FALL_DISTANCE
-
SCALE
-
SNEAKING_SPEED
-
SPAWN_REINFORCEMENTS_CHANCE
Handles the chance for a zombie to summon reinforcements when attacked. -
STEP_HEIGHT
-
SUBMERGED_MINING_SPEED
-
SWEEPING_DAMAGE_RATIO
-
WATER_MOVEMENT_EFFICIENCY
-
-
Constructor Details
-
Attributes
public Attributes()
-
-
Method Details
-
register
-
bootstrap
-