Attribute

Attributes are a system of buffs/debuffs added in 13w16a. They are hidden properties on mobs and players, and some are specific to certain types of mobs. Attributes also have Modifiers which adjust the strength of their effect. When applied to an item, a Modifier will adjust the corresponding Attribute if the item is held or worn. Attributes/Modifiers can be added to items or mobs being created as of 13w36a, without the use of third-party NBT editing software.

Attributes
An individual Attribute controls some property, described by its Name. An Attribute always has a Base value, and may have any number of Modifiers. Attributes also have a default value (used when spawning a mob with an undefined Attribute Base), and hard-coded Minimum and Maximum values. Modifiers act on an Attribute's Base, but the calculated value is always capped by the Minimum and Maximum.

Minimum and maximum are inclusive unless specified otherwise or they are equal to.

Attributes Available on All Living Entities
These Attributes are found on all mobs, including players.

Attributes for Horses
These Attributes are only used by Horses.

Attributes for Zombies
These Attributes are only used by Zombies.

Properties of Unknown Attributes
When the game finds an Attribute with an unrecognized name, it applies these properties to it.

Modifiers
Modifiers act upon the base value of an Attribute, increasing or decreasing it. Note that the resulting value after Modification is capped by the Attribute's Minimum and Maximum. Like Attributes, Modifiers have a Name, however, this name does not define the Modifier's behavior. Instead, a Modifier's behavior is determined by its Operation. Modifiers also carry an Amount to their modification, and a UUID (Universally Unique IDentifier).

Operations
A Modifier's Operation dictates how it modifies an Attribute's Base value. Three operations exist, "+- amount", "+- amount % (additive)", and "+- amount % (multiplicative)". For convenience, these will be referred to as Operations 0, 1, and 2, as they are in the code and NBT format.

The mathematical behavior is as follows: Operation 0: Increment X by Amount, Operation 1: Increment Y by X * Amount, Operation 2: Y = Y * (1 + Amount) (equivalent to Increment Y by Y * Amount). The game first sets X = Base, then executes all Operation 0 modifiers, then sets Y = X, then executes all Operation 1 modifiers, and finally executes all Operation 2 modifiers.

Vanilla Modifiers
As stated before, a Modifier's Name can be anything, and this will not effect its behavior. The following are only known Modifier names and values used in Vanilla Minecraft (do not add modifiers to this table if you find them in custom maps, as map makers may create their own custom modifiers). Note that some UUIDs are generated on-the-fly, while others are represented as fixed strings in the code - these have been listed as well. Do not add UUIDs to this table for modifiers where they are not listed - if a UUID is not listed, this means that it is different every time the modifier is created!