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

Method BPE

server/world/chunk/section/section.go:44–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (s *Section) BPE() (block, biome int) {
45 return s.blockBitsPerEntry, s.biomeBitsPerEntry
46}
47
48func (s *Section) offset(x, y, z int) (long, offset int) {
49 blockNumber := ((((y * 16) + z) * 16) + x) * s.blockBitsPerEntry

Callers 1

EncodeBufMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected