Mining Fatigue

(dark khaki)
 * type=Positive

Effect
The effect decreases attack speed by 10% × level, equivalent to the attack speed attribute decreasing by 0.2 x level. Time taken to destroy blocks is multiplied by 3 ^ level.

Negative levels increase attack speed, but still act as level 4 with respect to mining.

Note that attack speed decreases are purely visual.

While afflicted, a player can still craft and ride entities as normal, but cannot remove most vehicles due to how slowly the vehicle can be broken.

The affliction is cured by drinking milk, although milk does not prevent a subsequent affliction by an elder guardian.

Causes
The only natural cause of Mining Fatigue is from affliction by an elder guardian, and the only natural effect level is III. Once per minute, elder guardians in the vicinity search for any player within 50 blocks to afflict with Mining Fatigue III. A player cannot defend from this attack. Concealment behind blocks, underground, or by a potion of Invisibility offers no defense.

Other levels can be achieved via commands.

ID