Levitation

Levitation is a status effect that causes entities to levitate. Entities shot by shulkers get levitated.

Effect
Levitation causes the affected entity to float upward at a rate of 0.9×level blocks per second. This does not affect swimming or flying. Negative levels cause the entity to float downward, overriding the usual falling due to gravity; level 0 (amplifier 255) makes falling, jumping and ascending stairs impossible. When damaged by a projectile or anything, this makes the player go higher in the air on level 255.

An affected entity does not take fall damage until the effect wears off, after which the entity falls and takes damage as usual from falling.

Levitation has no effect on players riding entities. It also has no effect on entities that are in water or lava.

Immune mobs
Only boss mobs and shulkers are immune to the effect.

ID




Trivia

 * The Levitation status effect normally raises the entity into the air, unless the entity is in water.
 * The player can walk/run while having the Levitation effect, especially on level 254.
 * Using makes the player fly in Survival and not jump, when the effect is over in Survival when in midair, hitting the ground causes the player to shoot into the air, resulting in a likely death.
 * If the player uses the /effect command to give himself/herself levitation 256, the player will go 230.4 blocks per second.