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

Method outOfBounds

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

Source from the content-addressed store, hash-verified

352
353 /* is this an invalid chunk coordinate? */
354 private boolean outOfBounds(int x, int z) {
355 return x < 0 || x >= 32 || z < 0 || z >= 32;
356 }
357
358 private int getOffset(int x, int z) {
359 return this.offsets[x + z * 32];

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected