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

Method ID

protocol/net/packet/play/updateSectionBlocks.go:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (UpdateSectionBlocks) ID() int32 {
18 return PacketIdUpdateSectionBlocks
19}
20
21func (b *UpdateSectionBlocks) Encode(w encoding.Writer) error {
22 if err := w.Long(((int64(b.ChunkX) & 0x3FFFFF) << 42) | (int64(b.ChunkY) & 0xFFFFF) | ((int64(b.ChunkZ) & 0x3FFFFF) << 20)); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected