MCPcopy 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

writeMethod · 0.95
hasChunkMethod · 0.95
forAllPositionsMethod · 0.45
addSpawnPointMethod · 0.45
createHollowMethod · 0.45
convertPositionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected