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

Method setTimestamp

src/minecraft/reader/RegionFile.java:372–376  ·  view source on GitHub ↗
(int x, int z, int value)

Source from the content-addressed store, hash-verified

370 }
371
372 private void setTimestamp(int x, int z, int value) throws IOException {
373 this.chunkTimestamps[x + z * 32] = value;
374 this.file.seek(RegionFile.SECTOR_BYTES + (x + z * 32) * 4);
375 this.file.writeInt(value);
376 }
377
378 public void close() throws IOException {
379 this.file.close();

Callers 1

writeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected