levitation

fun LivingEntity.levitation(duration: Duration, amplifier: Int = 0)

Applies the Levitation effect to this entity.