Protection

Protection is an enchantment applied to armor that adds bonus damage reduction.

Usage
Protection reduces the damage taken from all sources except for damage caused by hunger, a warden's sonic boom attack, the void, or the command. This enchantment is capable of reducing damage from sources that normally ignore the user's armor value, such as magic damage from harming/poison potions.

The formula for damage reduction is for each armor piece, for a maximum damage reduction of 64% if all armor pieces are enchanted with Protection IV.

Unlike some of the other armor enchantments (e.g. Blast Protection), Protection offers no side effects outside of damage reduction.

Damage reduction from Protection, Fire Protection, Feather Falling, Blast Protection, and Projectile Protection stacks up to an upper limit of 80% (see armor enchantments). However, it is impossible to reach this cap with the base Protection enchantment alone as it is impossible to obtain Protection V in survival mode.

The protection enchantment is applied after the armor's damage reduction. For example, 20 armor points provide a 4% * 20 = 80% damage reduction. If the total protection enchantment levels on said armor adds up to 10, they would provide 40% damage reduction. This would equate to a result of 88% damage reduction, as it stacks multiplicatively rather than additively (80% + 40% - (80% * 40%), rather than 80% + 40%).

Incompatibilities
Protection, Blast Protection, Fire Protection, and Projectile Protection are mutually exclusive. Attempting to combine these enchantments with an anvil will delete the enchantment in the upgrade slot and replace it with the enchantment in the sacrifice slot. However, if commands are used to force two or more of these enchantments on the same item, the effects stack.

ID