Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Garten/sourcecraft
/ hasChunk
Method
hasChunk
src/minecraft/reader/RegionFile.java:362–364 ·
view source on GitHub ↗
(int x, int z)
Source
from the content-addressed store, hash-verified
360
}
361
362
public
boolean hasChunk(
int
x,
int
z) {
363
return
this.getOffset(x, z) != 0;
364
}
365
366
private
void
setOffset(
int
x,
int
z,
int
offset) throws IOException {
367
this.offsets[x + z * 32] = offset;
Callers
nothing calls this directly
Calls
1
getOffset
Method · 0.95
Tested by
no test coverage detected