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

Method SetOnGround

server/entity/entity.go:149–151  ·  view source on GitHub ↗
(v bool)

Source from the content-addressed store, hash-verified

147}
148
149func (p *Entity) SetOnGround(v bool) {
150 p.onGround.Store(v)
151}
152
153func (p *Entity) Position() (x, y, z float64) {
154 return math.Float64frombits(p.x.Load()), math.Float64frombits(p.y.Load()), math.Float64frombits(p.z.Load())

Callers 1

NewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected