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

     1  package effect
     2  
     3  import (
     4  	"image/color"
     5  )
     6  
     7  // Blindness is a lasting effect that greatly reduces the vision range of the entity affected.
     8  type Blindness struct {
     9  	nopLasting
    10  }
    11  
    12  // RGBA ...
    13  func (Blindness) RGBA() color.RGBA {
    14  	return color.RGBA{R: 0x1f, G: 0x1f, B: 0x23, A: 0xff}
    15  }