github.com/df-mc/dragonfly@v0.9.13/server/entity/effect/darkness.go (about) 1 package effect 2 3 import ( 4 "image/color" 5 ) 6 7 // Darkness is a lasting effect that causes the player's vision to dim occasionally. 8 type Darkness struct { 9 nopLasting 10 } 11 12 // RGBA ... 13 func (Darkness) RGBA() color.RGBA { 14 return color.RGBA{R: 0x29, G: 0x27, B: 0x21, A: 0xff} 15 }