Skip to main content

Attributes

Entity Attribute

Players or mobs carrying or wearing items with these attributes will have the effects specified applied to themselves.

NameDescriptionDefault BaseMinMax
generic.maxHealthThe maximum health of this mob, determines the highest health they may be healed to.20.00.01.7x10308
generic.knockbackResistanceResistance to knockback from attacks, explosions, and projectiles.
1.0 is full knockback resistance.
0.00.01.0
generic.movementSpeedSpeed 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.0.70.01.7x10308
generic.attackDamageDamage dealt by attacks, in half-hearts.2.00.01.7x10308
generic.armorArmor defense points.0.00.030.0
generic.armorToughnessArmor toughness.0.00.020.0

Player Attributes

These attributes are only applicable to players.

NameDescriptionDefault BaseMinMax
generic.attackSpeedDetermines speed at which attack strength recharges. Value is the number of full-strength attacks per second.4.00.01024.0
generic.luckAffects the results of loot tables using the quality or bonus_rolls tag (e.g. when opening chests or chest minecarts, fishing, and killing mobs).0.0-1024.01024.0

Incomplete list, copied from: Minecraft Wiki Attributes.