Minecraft Entity Attributes

These Minecraft Attributes are made to be used on Entities.

generic.maxHealth The maximum health of this mob (in half-hearts); determines the highest health they may be healed to.

generic.followRange The range of blocks within which a mob with this attribute will target players or other mobs to track. Exiting this range will cause the mob to cease following the player / mob. The actual value used by most mobs is 16; for zombies, it is 40.

generic.knockbackResistance The chance to resist knockback from attacks, explosions, and projectiles. 1.0 is 100% chance for resistance.

generic.movementSpeed The speed of movement in some unknown metric. The mob's maximum speed in blocks / second is a bit over 43 times this value, but can be affected by various conditions, such as: being ridden (if a horse), sprinting, fleeing (if a passive mob), attacking (if an enderman or zombie pigman), being led by a leash, being under the effect of a Speed or Slowness potion, being a baby zombie, or being a witch and drinking a potion. Speed in blocks per second can be calculated with the following equation, where x is the movementSpeed attribute y = 43.178x-0.02141.

generic.attackDamage Damage dealt by attacks, in half-hearts. This attribute is not found on passive mobs and golems.

generic.armor Armor defense points.

generic.armorToughness Armor Toughness.