getChunk

fun getChunk(x: Int, z: Int): ChunkColumn?

Gets the chunk inside this RegionFile. Coordinates are absolute. The returned ChunkColumn is a cached column extracted from this region file. Ie two calls with the same argument will return the same ChunkColumn object

Return

Can return null if the requested chunk is not present in the file

See also

Throws

if the given coordinates are not inside the region