Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Garten/sourcecraft
/ getOffset
Method
getOffset
src/minecraft/reader/RegionFile.java:358–360 ·
view source on GitHub ↗
(int x, int z)
Source
from the content-addressed store, hash-verified
356
}
357
358
private
int
getOffset(
int
x,
int
z) {
359
return
this.offsets[x + z * 32];
360
}
361
362
public
boolean hasChunk(
int
x,
int
z) {
363
return
this.getOffset(x, z) != 0;
Callers
7
getChunkDataInputStream
Method · 0.95
write
Method · 0.95
hasChunk
Method · 0.95
forAllPositions
Method · 0.45
addSpawnPoint
Method · 0.45
createHollow
Method · 0.45
convertPositions
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected