Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZeppelinMC/Zeppelin
/ Encode
Method
Encode
protocol/net/packet/play/setPlayerOnGround.go:18–20 ·
view source on GitHub ↗
(w encoding.Writer)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
(s *SetPlayerOnGround) Encode(w encoding.Writer) error {
19
return
w.Bool(s.OnGround)
20
}
21
22
func
(s *SetPlayerOnGround) Decode(r encoding.Reader) error {
23
return
r.Bool(&s.OnGround)
Callers
nothing calls this directly
Calls
1
Bool
Method · 0.45
Tested by
no test coverage detected