Files
mc/server/entity/effect/water_breathing.go
T
TarnaWijaya 26ed99fda6
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
up3
2026-07-09 08:33:57 +08:00

19 lines
353 B
Go

package effect
import (
"image/color"
)
// WaterBreathing is a lasting effect that allows the affected entity to breath
// underwater until the effect expires.
var WaterBreathing waterBreathing
type waterBreathing struct {
nopLasting
}
// RGBA ...
func (waterBreathing) RGBA() color.RGBA {
return color.RGBA{R: 0x98, G: 0xda, B: 0xc0, A: 0xff}
}