Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
44
func
(s *Section) BPE() (block, biome int) {
45
return
s.blockBitsPerEntry, s.biomeBitsPerEntry
46
}
47
48
func
(s *Section) offset(x, y, z int) (long, offset int) {
49
blockNumber := ((((y * 16) + z) * 16) + x) * s.blockBitsPerEntry
Callers
1
EncodeBuf
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected