()
| 15 | } |
| 16 | |
| 17 | func (UpdateSectionBlocks) ID() int32 { |
| 18 | return PacketIdUpdateSectionBlocks |
| 19 | } |
| 20 | |
| 21 | func (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 { |
nothing calls this directly
no outgoing calls
no test coverage detected