MCPcopy 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
35func (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

VarIntMethod · 0.45
UbyteMethod · 0.45

Tested by

no test coverage detected