Effect



Status effects are various conditions that affect an entity, which can be either helpful or harmful. Status effects can be inflicted in various ways throughout the game, most commonly from use of food, potions and beacons.

The command allows players to inflict effects upon themselves and other players and entities.

Behavior
Any entities inflicted by a status effect will be affected in various ways for an amount of time. During the effect, swirly particles emanate from the position of the inflicted entity. Players can open their inventory to see any current status effects afflicted upon them, as well as its strength and duration. The level of the effect determines its power. The higher the levels, the stronger the effect is.

The maximum level an effect can have is level 255. Like any other normal potion effect, the effect completely wears off at the end of its duration. Unlike normal potion effects, potions with levels above 127 do not cause particle effects.

Any number of different status effects can be simultaneously active on a player, even in the case of opposing effects, such as Strength and Weakness. However, it is not possible to apply the same effect multiple times, 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 applying 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.

Note that even with commands, effects cannot be made to last forever. If an effect is set to an excessively large amount of time, such as 182 hours [655200 seconds], it will display as "**:**", but will still continue ticking down and eventually expire.

All of these status effects can be removed by drinking milk. Singleplayer users with cheats enabled and operators in Multiplayer servers can use command with the time of the effect set to 0 or  to achieve the same goal.

List of effects
There are a total of 23 effects (27 as of snapshot 15w44b). For technical data, see data values.

Video
This video is outdated, as 6 status effects have been added between 1.6.2 to 1.9.

Trivia

 * After drinking a bucket of milk while under the Nausea effect, the screen will flash purple for a tick as if you were standing in a Nether Portal. This is because the game uses the same effect for Nausea as it does for the nether portal.
 * If you put Speed and Slowness together, you'll be able to sprint.
 * If you put Blindness and Night Vision together, the screen will turn black and only the sun and moon will be visible.
 * The maximum health the player can achieve using Health Boost and Absorption is 2068 (1034 hearts).
 * If you get max health using the method above, and put regeneration level of 255, while healing to 1034 hearts, your view will jolt, even in creative mode, like getting hurt. You are not getting hurt though.
 * If you have at least resistance 5, then you are practically invincible. (Apart from the /kill command and the void)
 * Endermen inflicted with invisibility can still be seen due to the fact that the eyes still glow and a slight outline can be seen from a distance. Similarly, spider eyes will glow.
 * The Wither effect is the only negative effect that can negatively affect both living and undead mobs.
 * If you have regeneration 255, the void cannot kill you.
 * The Jump Boost status effect does not make slimes, magma cubes or guardians jump higher.
 * Speed allows Slimes to jump farther. High levels of speed can take slimes out of view with just one jump.
 * The levitation status effect will normally rise you into the air. However, if you go into water, you will just flow along with the water, while not floating.
 * When having multiple status effects, their timer's seconds will always decrement by 1 each simultaneously reguardless when the player takes another potion. This is because they use the same "seconds counter" that "ticks" every 20 game ticks to save memory. For example, if the player takes one potion and another potion (different so that they don't reset the timer) 5.5 (or any non-interger amounts) seconds later, their timer's second will subtract by 1 on both of them simultaneously.
 * You can walk/run while having the levitation effect especially on level 254.
 * Although the Wither effect is being effected by wither skeletons and the wither boss, the icon shows normal skeleton head instead for a wither skeleton head
 * Using /effect minecraft:levitation 20 255 will make you fly in survival and not jump, when the effect is over in survival when in midair, hitting the ground will cause you to shoot into the air, then the player will most likely die.