MCPcopy Create free account
hub / github.com/Garten/sourcecraft / setOffset

Method setOffset

src/minecraft/reader/RegionFile.java:366–370  ·  view source on GitHub ↗
(int x, int z, int offset)

Source from the content-addressed store, hash-verified

364 }
365
366 private void setOffset(int x, int z, int offset) throws IOException {
367 this.offsets[x + z * 32] = offset;
368 this.file.seek((x + z * 32) * 4);
369 this.file.writeInt(offset);
370 }
371
372 private void setTimestamp(int x, int z, int value) throws IOException {
373 this.chunkTimestamps[x + z * 32] = value;

Callers 1

writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected