Levitation

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

Effect
Levitation causes the affected entity to float upwards at a rate of 0.9×level blocks per second. This does not affect swimming or flying. Levitation also prevents the use of elytra, but the effects do not show if the player is already gliding. Negative levels cause the entity to float downwards, overriding the usual falling due to gravity; level 0 (amplifier 255) makes falling, jumping and ascending stairs impossible. Levitated entities do not take fall damage. Levitation has no effect underwater, or on players in boats.

Immune mobs
Only boss mobs are immune to the effect. However, mobs such as shulkers suffer no actual effects.

History
飘浮