Effect

Potion effects are conferred by food items called Potions, or alternatively a throwable version called Splash Potions, both of which can be brewed using a Brewing Stand in order to acquire the effects.

Behavior
A living entity (player or mob) affected by a potion effect will be affected in various ways for an amount of time. As of 1.9 pre-release 2, players can open their inventory to see any current potion effects afflicted upon them and their duration. Also, as of 1.9 pre-release 4, players can see swirly particles emanating from their position in first person, and as of 1.9 pre-release 5(6?), this effect can be seen in third person and on players/mobs too.

Any number of different potion effects can be simultaneously active on a player, even in the case of opposite potion effects such as Strength and Weakness. It is not possible to apply the same potion effect multiple times, however, even if the effects are of different levels (e.g. Strength and Strength II cannot both be active at the same time). In the event of using a potion that applies an effect already active on the player, the new version of the effect overwrites the old effect, giving a new level and full duration, if the new effect is of equal or greater level. An attempt to use a potion that applies a weaker version of an already-active effect consumes the potion but does not apply the new effect.

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