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

     1  package effect
     2  
     3  import (
     4  	"image/color"
     5  )
     6  
     7  // NightVision is a lasting effect that causes the affected entity to see in dark places as though they were
     8  // fully lit up.
     9  type NightVision struct {
    10  	nopLasting
    11  }
    12  
    13  // RGBA ...
    14  func (NightVision) RGBA() color.RGBA {
    15  	return color.RGBA{R: 0x1f, G: 0x1f, B: 0xa1, A: 0xff}
    16  }