github.com/df-mc/dragonfly@v0.9.13/server/entity/effect/water_breathing.go (about) 1 package effect 2 3 import ( 4 "image/color" 5 ) 6 7 // WaterBreathing is a lasting effect that allows the affected entity to breath underwater until the effect 8 // expires. 9 type WaterBreathing struct { 10 nopLasting 11 } 12 13 // RGBA ... 14 func (WaterBreathing) RGBA() color.RGBA { 15 return color.RGBA{R: 0x2e, G: 0x52, B: 0x99, A: 0xff} 16 }