Effect



Status effects are various conditions that affects an entity, which can be either helpful or harmful. Status effects can be inflicted in various ways throughout the game, but are generally produced by potions.

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

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 strength of the effect determines the power of the effect. The higher the levels, the stronger the effect is. The maximum level an effect can have is level 127. Any levels higher then 127 would "corrupt" the effect, or create a negative effect (e.g. Instant Health +128 would damage the player; Slowness +128 would speed up the player). At the end of its duration, the effect completely wears off.

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, it will display as "**:**", but will still continue ticking down and eventually expire.

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

List of effects
As of the, there is a total of 23 effects. For technical data, see data values.

command cannot cause it, it has no swirling particles (although it has its own animation, of flames visible on the entity), it does not appear in the inventory screen and has no icon, it cannot be cured by drinking milk, and it can be inflicted on almost any entity (including vehicles, items, and other non-mob entities).
 * If you put Speed and Slowness together, you'll be able to sprint.
 * The maximum health the player can achieve using Health Boost and Absorption is 2068.
 * If you get max health using method above, and put regeneration level of 255, while healing to 2068 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 invincible. (Apart from the /kill command and the void)