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

Method Rotation

server/entity/entity.go:161–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159}
160
161func (p *Entity) Rotation() (yaw, pitch float32) {
162 return math.Float32frombits(p.yaw.Load()), math.Float32frombits(p.pitch.Load())
163}
164
165func (p *Entity) OnGround() bool {
166 return p.onGround.Load()

Callers 3

debug.goFile · 0.80
startGameMethod · 0.80
syncMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected