Effect

Status effects are various conditions of a player or mob, which can be helpful or damaging. The majority are produced either by various potions (including splash potions), and/or by various settings of a beacon pyramid. You are able to give yourself potion/mob effects by using the command. Others are produced by mob attacks, certain food items, or specific game situations. A few effects are present in the game code, but are currently not produced in the game (unless the feature or   command is used).

Behavior
A player or mob affected by a potion effect will be affected in various ways for an amount of time. (Currently, no potions affect any other entities or blocks.) Players can open their inventory to see any current potion effects afflicted upon them and their duration. Players can also see swirly particles emanating from their position in first person, and 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.

All of these status effects (bad or good) are removed by drinking milk.

Currently, all effects can be caused by command blocks.

Parameters
Potion effects are given two parameters on creation: duration and strength. For technical data see: data values page.