MCPcopy Create free account
hub / github.com/ZeppelinMC/Zeppelin / Food

Method Food

server/entity/entity.go:198–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196}
197
198func (l *LivingEntity) Food() (food int32, saturation, exhaustion float32) {
199 return int32(l.food.Load()), math.Float32frombits(l.foodSaturation.Load()), math.Float32frombits(l.foodExhaustion.Load())
200}
201
202type Attribute struct {
203 Base float64 `nbt:"base"`

Callers 1

syncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected