Files
mc/server/entity/effect/water_breathing.go
T

19 lines
353 B
Go
Raw Normal View History

2026-07-09 08:33:57 +08:00
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}
}