Effect

Potion effects are conferred by food items called Potions.

History
Potion effects were introduced in Beta 1.8. There are currently 19 defined "potion effects" in Minecraft. Two are given by Player actions, Two more by food items, One by a Cave Spider's attack, Six others work but aren't used yet, and Eight have no effect.

Parameters
Potion effects are given two parameters on creation: Duration (in ticks) and strength.