Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ Decode
Method
Decode
protocol/net/packet/play/entityAnimation.go:35–40 ·
view source on GitHub ↗
(r encoding.Reader)
Source
from the content-addressed store, hash-verified
33
}
34
35
func
(e *EntityAnimation) Decode(r encoding.Reader) error {
36
if
_, err := r.VarInt(&e.EntityId); err != nil {
37
return
err
38
}
39
return
r.Ubyte(&e.Animation)
40
}
Callers
nothing calls this directly
Calls
2
VarInt
Method · 0.45
Ubyte
Method · 0.45
Tested by
no test coverage detected