github.com/df-mc/dragonfly@v0.9.13/server/entity/effect/levitation.go (about)

     1  package effect
     2  
     3  import (
     4  	"image/color"
     5  )
     6  
     7  // Levitation is a lasting effect that causes the affected entity to slowly levitate upwards. It is roughly
     8  // the opposite of the SlowFalling effect.
     9  type Levitation struct {
    10  	nopLasting
    11  }
    12  
    13  // RGBA ...
    14  func (Levitation) RGBA() color.RGBA {
    15  	return color.RGBA{R: 0xce, G: 0xff, B: 0xff, A: 0xff}
    16  }