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 level, the stronger the effect is.

Internally, and in the command and potion Amplifier NBT tags, the game stores an "amplifier" value rather than the level. The amplifier is one less than the level, for example Strength II has an amplifier of 1. Due to the way this amplifier is stored in NBT, amplifiers of 128 to 255 (levels 129 to 256) in NBT tags (e.g. on potions) are treated as if they were −128 to −1 (levels −127 to 0) respectively. The command initially applies such amplifiers in their positive-valued sense but this is later converted to the negative-valued interpretation, leading to inconsistent results.

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 27 effects. For technical data, see data values.

Video
This video is outdated, as 6 status effects have been added between 1.6.1 and 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 7 or higher, 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 regardless 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-integer amounts) seconds later, their timers will subtract 1 second from both of them simultaneously.
 * You can walk/run while having the Levitation effect, especially on level 254.
 * Although the Wither effect is given to the player by being hit by wither skeletons or the wither boss, the icon shows a normal skeleton head instead of a wither skeleton head.
 * Using /effect minecraft:levitation (Time In Second) 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.